diff options
author | Rocky Madden <git@rockymadden.com> | 2014-01-02 16:21:50 -0700 |
---|---|---|
committer | Rocky Madden <git@rockymadden.com> | 2014-01-02 16:21:50 -0700 |
commit | 15e06ee3af2d0001746a33e2ab37d9c48d163f93 (patch) | |
tree | b2eb8cd0bd4113c1ab734ad66e0cfca22698b923 /project/build.sh | |
parent | b8dca788953a60786317bdaae2b15395a2cb24d4 (diff) | |
download | stringmetric-15e06ee3af2d0001746a33e2ab37d9c48d163f93.tar.gz stringmetric-15e06ee3af2d0001746a33e2ab37d9c48d163f93.tar.bz2 stringmetric-15e06ee3af2d0001746a33e2ab37d9c48d163f93.zip |
Created build.sh which will build the CLI instead of gradle.
Diffstat (limited to 'project/build.sh')
-rw-r--r-- | project/build.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/project/build.sh b/project/build.sh new file mode 100644 index 0000000..f7d074c --- /dev/null +++ b/project/build.sh @@ -0,0 +1,11 @@ +#!/bin/sh +mkdir ../target/cli + +cp ../cli/src/main/scala/com/rockymadden/stringmetric/cli/**/*.scala ../target/cli/ +cp ../cli/target/scala-2.10/*.jar ../target/cli/ +cp ../core/target/scala-2.10/*.jar ../target/cli/ + +for f in ../target/cli/*.scala; do cat scala.sh "$f" > "${f%.*}"; done + +rm ../target/cli/*.scala +chmod +x ../target/cli/* |