Update deliver.sh

This commit is contained in:
Peter Aaser 2019-09-12 11:31:25 +02:00 committed by GitHub
parent 70556c496c
commit d9a5238433
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,14 +13,14 @@ cp build.sbt ./wrap
cp project/Dependencies.scala ./wrap/project/Dependencies.scala cp project/Dependencies.scala ./wrap/project/Dependencies.scala
cp project/build.properties ./wrap/project/build.properties cp project/build.properties ./wrap/project/build.properties
cp sbt.sh ./wrap cp sbt.sh ./wrap
(cd ./wrap/; tar czfv $username.gz .) (cd ./wrap/; tar czfv $username.tar.gz .)
mv ./wrap/$username.gz . mv ./wrap/$username.gz .
rm -rf ./wrap rm -rf ./wrap
echo "Unwrapping and testing your wrapped package" echo "Unwrapping and testing your wrapped package"
mkdir wrapTest mkdir wrapTest
tar -C ./wrapTest -xvf $username.gz tar -C ./wrapTest -xvf $username.tar.gz
./wrapTest/sbt.sh test ./wrapTest/sbt.sh test
rm -rf ./wrapTest rm -rf ./wrapTest