Add pack sripts

This commit is contained in:
Daniel
2019-03-13 10:47:49 +01:00
parent fbf7bf51d5
commit 90a5b4a882
3 changed files with 179 additions and 0 deletions

35
pack Executable file
View File

@@ -0,0 +1,35 @@
#!/bin/bash
baseDir="$( cd "$(dirname "$0")" && pwd )"
cd "$baseDir"
# first check what will be built
echo ""
echo "pack list:"
echo ""
./pmctl/pack check
./pack_core check
# confirm
echo ""
read -p "press [Enter] to start packing" x
echo ""
# build
./pmctl/pack build
if [[ $? -ne 0 ]]; then
exit 1
fi
./pack_core build
if [[ $? -ne 0 ]]; then
exit 1
fi
echo ""
echo "finished packing."
echo ""