diff options
author | Félix Sipma <felix+debian@gueux.org> | 2016-12-19 15:14:37 +0100 |
---|---|---|
committer | Félix Sipma <felix+debian@gueux.org> | 2016-12-19 15:28:41 +0100 |
commit | 41abf26d22e0ddf35c31331eff12dd32c7c329ff (patch) | |
tree | f51585a494bff884a3456e35525119f319cbef77 | |
parent | 36f6e3bcb6e539f1a3db7d6b0e6e29e414ada65c (diff) |
use "go build" instead of "go run build.go" to build
Thanks, Alexander Neumann
-rwxr-xr-x | debian/rules | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/rules b/debian/rules index 2276043..59ea44e 100755 --- a/debian/rules +++ b/debian/rules @@ -6,7 +6,7 @@ export DH_OPTIONS dh $@ override_dh_auto_build: - go run build.go + GOPATH=$(CURDIR):/usr/share/gocode go build -ldflags "-s -w -X \"main.version=$(shell cat VERSION)\"" -o restic cmds/restic override_dh_auto_test: - go run build.go --test + GOPATH=$(CURDIR):/usr/share/gocode go test restic/... |