aboutsummaryrefslogtreecommitdiffstats
path: root/test/security/sslendpoints/Makefile
diff options
context:
space:
mode:
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>2020-03-25 11:25:29 +0100
committerMarco Platania <platania@research.att.com>2020-03-25 15:39:11 +0000
commit9148cc289f479dd535844c819bdabcf80718305b (patch)
tree5e347afb9ff56ce9ec13e455cd423b98270407a1 /test/security/sslendpoints/Makefile
parentef0371c50a1d1006f580f0392eeb42ce54f82446 (diff)
Add 'build' target for 'sslendpoints' project
To follow a common protocol of testing Golang based applications in CI we need a 'build' target for doing a local (non-docker) build to verify 'go build' routine. It's however not added to "all" target as that one already references docker based build by default. Change-Id: I2e380ef09a1ae18456d7288f853d085617149338 Issue-ID: SECCOM-261 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Diffstat (limited to 'test/security/sslendpoints/Makefile')
-rw-r--r--test/security/sslendpoints/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/security/sslendpoints/Makefile b/test/security/sslendpoints/Makefile
index cf5c34d72..a213e1a09 100644
--- a/test/security/sslendpoints/Makefile
+++ b/test/security/sslendpoints/Makefile
@@ -7,6 +7,11 @@ BINARIES := $(addprefix ${BUILD_DIR}/, ${BINARIES})
.PHONY: all
all: docker-build
+.PHONY: build
+build:
+ mkdir -p "${BUILD_DIR}"
+ go build -o "${BUILD_DIR}/${BINARIES}"
+
.PHONY: clean
clean: clean-docker-build clean-build