aboutsummaryrefslogtreecommitdiff
path: root/PxShared/buildtools/steps/package_all_linux.sh
blob: 2b3d7af96ca78bf675ea15a4678473c4c3b2ae89 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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