From 8065f2f80fc6818b01650a25b1d32b50840fcd66 Mon Sep 17 00:00:00 2001 From: Saager Mhatre Date: Tue, 8 Apr 2014 20:17:55 +0530 Subject: [PATCH 1/3] Update build script; refactor groups into loop --- build.sh | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/build.sh b/build.sh index a919637..7510105 100755 --- a/build.sh +++ b/build.sh @@ -1,10 +1,8 @@ #!/bin/sh -ruby build.rb groovy_dev > bin/groovy_dev/dq.sh -ruby build.rb ruby_dev > bin/ruby_dev/dq.sh -ruby build.rb scala_dev > bin/scala_dev/dq.sh -ruby build.rb java_dev > bin/java_dev/dq.sh -ruby build.rb db > bin/db/dq.sh -ruby build.rb core > bin/core/dq.sh -ruby build.rb clojure_dev > bin/clojure_dev/dq.sh -ruby build.rb all > bin/all/dq.sh -ruby build.rb frontend_dev > bin/frontend_dev/dq.sh \ No newline at end of file + +rm -rf ./bin + +for group in groovy_dev ruby_dev scala_dev java_dev db core clojure_dev all frontend_dev; do + mkdir -p ./bin/$group/ + ruby build.rb $group > ./bin/$group/dq.sh +done From e2702935b4b029732f7cbe6a2ed6b9ee201cfb3e Mon Sep 17 00:00:00 2001 From: Saager Mhatre Date: Tue, 8 Apr 2014 20:18:34 +0530 Subject: [PATCH 2/3] Update build script; make artifacts executable --- build.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.sh b/build.sh index 7510105..0f7836e 100755 --- a/build.sh +++ b/build.sh @@ -6,3 +6,5 @@ for group in groovy_dev ruby_dev scala_dev java_dev db core clojure_dev all fron mkdir -p ./bin/$group/ ruby build.rb $group > ./bin/$group/dq.sh done + +find bin -type f -name \*.sh -exec chmod u+x {} + From aa71039f4fc9b4664ccdb99d6d67ca09dd25c340 Mon Sep 17 00:00:00 2001 From: Saager Mhatre Date: Tue, 8 Apr 2014 21:48:26 +0530 Subject: [PATCH 3/3] Build artifacts with new build script --- bin/all/dq.sh | 0 bin/clojure_dev/dq.sh | 0 bin/core/dq.sh | 0 bin/db/dq.sh | 0 bin/frontend_dev/dq.sh | 0 bin/groovy_dev/dq.sh | 0 bin/java_dev/dq.sh | 0 bin/ruby_dev/dq.sh | 0 bin/scala_dev/dq.sh | 0 9 files changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 bin/all/dq.sh mode change 100644 => 100755 bin/clojure_dev/dq.sh mode change 100644 => 100755 bin/core/dq.sh mode change 100644 => 100755 bin/db/dq.sh mode change 100644 => 100755 bin/frontend_dev/dq.sh mode change 100644 => 100755 bin/groovy_dev/dq.sh mode change 100644 => 100755 bin/java_dev/dq.sh mode change 100644 => 100755 bin/ruby_dev/dq.sh mode change 100644 => 100755 bin/scala_dev/dq.sh diff --git a/bin/all/dq.sh b/bin/all/dq.sh old mode 100644 new mode 100755 diff --git a/bin/clojure_dev/dq.sh b/bin/clojure_dev/dq.sh old mode 100644 new mode 100755 diff --git a/bin/core/dq.sh b/bin/core/dq.sh old mode 100644 new mode 100755 diff --git a/bin/db/dq.sh b/bin/db/dq.sh old mode 100644 new mode 100755 diff --git a/bin/frontend_dev/dq.sh b/bin/frontend_dev/dq.sh old mode 100644 new mode 100755 diff --git a/bin/groovy_dev/dq.sh b/bin/groovy_dev/dq.sh old mode 100644 new mode 100755 diff --git a/bin/java_dev/dq.sh b/bin/java_dev/dq.sh old mode 100644 new mode 100755 diff --git a/bin/ruby_dev/dq.sh b/bin/ruby_dev/dq.sh old mode 100644 new mode 100755 diff --git a/bin/scala_dev/dq.sh b/bin/scala_dev/dq.sh old mode 100644 new mode 100755