summaryrefslogtreecommitdiff
path: root/docker/builder.sh
diff options
context:
space:
mode:
Diffstat (limited to 'docker/builder.sh')
-rwxr-xr-xdocker/builder.sh13
1 files changed, 12 insertions, 1 deletions
diff --git a/docker/builder.sh b/docker/builder.sh
index a7a2a40..f9577f3 100755
--- a/docker/builder.sh
+++ b/docker/builder.sh
@@ -7,7 +7,15 @@ rm -rf "${GUESTDIR}"
cp -r "${HOSTDIR}" "${GUESTDIR}"
cd "${GUESTDIR}"
make prepare
-make build
+case $TYPE in
+ snap)
+ echo "[+] Building SNAP"
+ make package_snap
+ ;;
+ default)
+ make build
+ ;;
+esac
case $XBUILD in
win)
if [ "$STAGE" = "1" ]; then
@@ -29,5 +37,8 @@ case $XBUILD in
yes)
make packages
;;
+ default)
+ echo "no XBUILD set..."
+ ;;
esac
cp "${GUESTDIR}"/deploy/* $DESTDIR