surok/build/build.sh
2016-11-12 13:22:23 +03:00

23 lines
367 B
Bash
Executable File

#!/bin/bash
set -e
. functions.sh
function usage() {
echo "$0 <clean|build_package|surok_image|alpine>"
}
case $1 in
clean) cleanup ;;
build_package)
build_builder
build_package
;;
build_deb) build_package ;;
surok_image) build_surok_base rebuild ;;
surok_image_no_rebuild) build_surok_base ;;
alpine) build_alpine ;;
*) usage ;;
esac