aboutsummaryrefslogtreecommitdiff
path: root/PxShared/buildtools/steps/package_all_linux.sh
diff options
context:
space:
mode:
Diffstat (limited to 'PxShared/buildtools/steps/package_all_linux.sh')
-rw-r--r--PxShared/buildtools/steps/package_all_linux.sh28
1 files changed, 28 insertions, 0 deletions
diff --git a/PxShared/buildtools/steps/package_all_linux.sh b/PxShared/buildtools/steps/package_all_linux.sh
new file mode 100644
index 0000000..2b3d7af
--- /dev/null
+++ b/PxShared/buildtools/steps/package_all_linux.sh
@@ -0,0 +1,28 @@
+#!/bin/bash +x
+
+set -e
+
+# build docs
+pushd "$(dirname "$0")/../../docs/_compile"
+./build_all.sh
+popd
+
+# remove all zips
+pushd "$(dirname "$0")/../.."
+rm -f *.zip
+popd
+
+# replace packman's config file to use s3 instead of gtl
+echo "s3" > "$(dirname "$0")/../packman/source.conf"
+
+# run packager
+if [ -z $1 ] ; then
+ OPTIONS=""
+else
+ OPTIONS="-v $1"
+ shift
+fi
+
+pushd "$(dirname "$0")/../packager/"
+./create_packages.sh linux $OPTIONS $@
+popd \ No newline at end of file