aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdebian/rules4
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/...