surok/build/build.sh
Denis Zheleztsov 5cd3f7c9b8 closes #5
2016-11-16 10:08:39 +03:00

26 lines
514 B
Bash
Executable File

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