diff options
author | kali kaneko (leap communications) <kali@leap.se> | 2020-05-07 18:02:23 +0200 |
---|---|---|
committer | kali kaneko (leap communications) <kali@leap.se> | 2020-05-07 18:02:23 +0200 |
commit | 283a8e6612583536918efaba9adc30cd5ffebe2c (patch) | |
tree | 05441956d3a71b20b642779e41857c608a81e8ab /docker/builder.sh | |
parent | 954045fabeb91a2da9a72a38f8a19a2e94c56bad (diff) |
[pkg] build snap in docker
Diffstat (limited to 'docker/builder.sh')
-rwxr-xr-x | docker/builder.sh | 13 |
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 |