surok/build/build.sh
2016-11-14 17:28:35 +03:00

25 lines
457 B
Bash
Executable File

#!/bin/bash
set -e
. functions.sh
function usage() {
echo "$0 <clean|build_package|surok_image|alpine|centos|centos_rpm>"
}
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 ;;
centos) build_centos ;;
centos_rpm) build_centos_rpm ;;
*) usage ;;
esac