Commit 46f8cbc7 authored by Philip Makedonski's avatar Philip Makedonski
Browse files

* fix for assembly script

parent a5d8efb3
Loading
Loading
Loading
Loading
+10 −4
Original line number Diff line number Diff line
@@ -13,15 +13,21 @@ TARGET=downloads/t3q-$VERSION
mkdir -p $TARGET

# assemble contents
echo "Assembling contents..."
cp $BASE_DIR/t3q.xml $TARGET/
cp $BASE_DIR/t3q.bat $TARGET/
cp $BASE_DIR/t3q $TARGET/
cp $PARENT/target/de.ugoe.cs.swe.T3Q-1.0.0-SNAPSHOT-shadow.jar $TARGET/t3q.jar

# zip contents of target directory without parent path
# cd downloads
# zip -r t3q-$VERSION.zip t3q-$VERSION/
echo "Creating archive..."
cd downloads
zip -r t3q-$VERSION.zip t3q-$VERSION/
ls -l

# clean up
# rm -rf t3q-$VERSION/
# cd ..
echo "Cleaning up..."
rm -rf t3q-$VERSION/
ls -l

cd ..