diff options
author | Rocky Madden <git@rockymadden.com> | 2014-01-03 08:40:50 -0700 |
---|---|---|
committer | Rocky Madden <git@rockymadden.com> | 2014-01-03 08:40:50 -0700 |
commit | 04ecb8e68522e5446fc7ec5afd14e5295ff70e79 (patch) | |
tree | f5b3e01bed88b056c883085c4d304dd3c5f8d050 /project/build.sh | |
parent | cc72a23e99c9cc02cc4993263addb213204d07ff (diff) | |
download | stringmetric-04ecb8e68522e5446fc7ec5afd14e5295ff70e79.tar.gz stringmetric-04ecb8e68522e5446fc7ec5afd14e5295ff70e79.tar.bz2 stringmetric-04ecb8e68522e5446fc7ec5afd14e5295ff70e79.zip |
Meant to be run from project root.
Diffstat (limited to 'project/build.sh')
-rwxr-xr-x[-rw-r--r--] | project/build.sh | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/project/build.sh b/project/build.sh index f7d074c..7d0f5cf 100644..100755 --- a/project/build.sh +++ b/project/build.sh @@ -1,11 +1,11 @@ #!/bin/sh -mkdir ../target/cli +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/ +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 +for f in ./target/cli/*.scala; do cat ./project/scala.sh "$f" > "${f%.*}"; done -rm ../target/cli/*.scala -chmod +x ../target/cli/* +rm ./target/cli/*.scala +chmod +x ./target/cli/* |