Skip to content
Snippets Groups Projects
get-packages.sh 362 B
Newer Older
Anh Nguyen-Tuong's avatar
Anh Nguyen-Tuong committed
#!/bin/bash 

args="$@"
if [[ $args = "" ]]; then
        args="all"
fi

for arg in $args; do
	case $arg in
		all | build | test | deploy)
			;;
		*)
		echo "arg not recognized. Recognized args: all, build, test, deploy"
		exit 1
		;;
	esac
done

Anh Nguyen-Tuong's avatar
Anh Nguyen-Tuong committed
pushd zipr_umbrella
sudo -E ./get-peasoup-packages.sh $args
Anh Nguyen-Tuong's avatar
Anh Nguyen-Tuong committed
popd

pushd zfuzz
sudo -E ./get-packages.sh $args
Anh Nguyen-Tuong's avatar
Anh Nguyen-Tuong committed
popd