summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2019-08-16 12:49:37 +0200
committerKali Kaneko (leap communications) <kali@leap.se>2019-08-16 12:57:51 +0200
commit4aa6fd4109aa9e92a1ade72885d7c99effcd7c76 (patch)
treeed39796a0695b3fc5a9501311f2281b82da83461 /Makefile
parentfcc0bf6cd609224357d1380870a090c2875e9eff (diff)
[pkg] ability to skip ca check
sometimes we have no network access
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f86f595..65fe217 100644
--- a/Makefile
+++ b/Makefile
@@ -12,6 +12,7 @@ PROVIDER_CONFIG ?= branding/config/vendor.conf
DEFAULT_PROVIDER = branding/assets/default/
VERSION ?= $(shell git describe)
XBUILD ?= no
+SKIP_CACHECK ?= no
# go paths
GOPATH = $(shell go env GOPATH)
@@ -119,7 +120,9 @@ prepare_templates: generate relink_default tgz
@mkdir -p build/${PROVIDER}/bin/
@cp ${TEMPLATES}/makefile/Makefile build/${PROVIDER}/Makefile
@VERSION=${VERSION} PROVIDER_CONFIG=${PROVIDER_CONFIG} ${SCRIPTS}/generate-vendor-make.py build/${PROVIDER}/vendor.mk
+ifeq (${SKIP_CACHECK}, no)
@${SCRIPTS}/check-ca-crt.py ${PROVIDER} ${PROVIDER_CONFIG}
+endif
generate:
@go generate cmd/bitmask-vpn/main.go