summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 696fcea..33a2d6c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,15 @@
-.PHONY: all build icon locales generate_locales clean
+.PHONY: all get build icon locales generate_locales clean
-all: icon locales build
+all: icon locales get build
+
+get:
+ go get -tags 'gtk_3_18' .
build:
- go build -ldflags "-X main.version=`git describe --tags`"
+ go build -tags 'gtk_3_18' -ldflags "-X main.version=`git describe --tags`"
+
+test:
+ go test -tags 'gtk_3_18' ./...
clean:
make -C icon clean