2
1
mirror of https://github.com/kdabir/has.git synced 2024-11-10 21:26:50 +01:00

Update build script; refactor groups into loop

This commit is contained in:
Saager Mhatre 2014-04-08 20:17:55 +05:30
parent 0ef6b58790
commit 8065f2f80f

View File

@ -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
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