summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2020-05-07 18:02:23 +0200
committerkali kaneko (leap communications) <kali@leap.se>2020-05-07 18:02:23 +0200
commit283a8e6612583536918efaba9adc30cd5ffebe2c (patch)
tree05441956d3a71b20b642779e41857c608a81e8ab /Makefile
parent954045fabeb91a2da9a72a38f8a19a2e94c56bad (diff)
[pkg] build snap in docker
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7f12624..e0c7f5f 100644
--- a/Makefile
+++ b/Makefile
@@ -127,7 +127,12 @@ build_all_providers:
# packaging templates
#########################################################################
-prepare: prepare_templates gen_pkg_win gen_pkg_osx gen_pkg_snap gen_pkg_deb prepare_done
+prepare: re_vendor prepare_templates gen_pkg_win gen_pkg_osx gen_pkg_snap gen_pkg_deb prepare_done
+
+re_vendor:
+ # we update the module vendoring in case we're building with a different
+ # go version than in development
+ @go mod vendor
prepare_templates: generate relink_default tgz
@mkdir -p build/${PROVIDER}/bin/ deploy