summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2018-08-02 12:31:06 +0200
committerRuben Pollan <meskio@sindominio.net>2018-08-02 18:21:20 +0200
commit1d3d04fc6047767aba5d2e82e8ea12205720917c (patch)
tree5f4f6a798908485089a6d24db8d31266580c53b6
parent9d01aa59d31adef5cbacff3158e1b93b922e73e6 (diff)
[test] build standalone on the CI
-rw-r--r--.gitlab-ci.yml2
-rw-r--r--Makefile3
2 files changed, 3 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index abf2e93..9b4761b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -16,7 +16,7 @@ build_test:
- ln -s "$(pwd)" ${APP_PATH}
- cd ${APP_PATH}
- make get
- - make static
+ - make standalone
- make build
tags:
- linux
diff --git a/Makefile b/Makefile
index 1b59f98..9c86e07 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,8 @@ TAGS ?= gtk_3_18
all: icon locales get build
get:
- go get -tags $(TAGS) . ./standalone
+ go get -tags $(TAGS) ./...
+ go get -tags "$(TAGS) standalone" ./...
build:
go build -tags $(TAGS) -ldflags "-X main.version=`git describe --tags`"