Skip to content
This repository has been archived by the owner on May 27, 2019. It is now read-only.

Commit

Permalink
in make task, watch all used go packages so binaries are built on eve…
Browse files Browse the repository at this point in the history
…ry change. #88 #90 #91
  • Loading branch information
dannyvankooten committed Jun 15, 2017
1 parent 538c6df commit a559fdb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@ static-files: chrome/host.json firefox/host.json
cp firefox/host.json firefox-host.json
cp chrome/policy.json chrome-policy.json

browserpass: cmd/browserpass/main.go
browserpass: cmd/browserpass/ pass/ browserpass.go
go build -o $@ ./cmd/browserpass

browserpass-linux64: cmd/browserpass/main.go
browserpass-linux64: cmd/browserpass/ pass/ browserpass.go
env GOOS=linux GOARCH=amd64 go build -o $@ ./cmd/browserpass

browserpass-darwinx64: cmd/browserpass/main.go
browserpass-darwinx64: cmd/browserpass/ pass/ browserpass.go
env GOOS=darwin GOARCH=amd64 go build -o $@ ./cmd/browserpass

browserpass-openbsd64: browserpass.go
browserpass-openbsd64: cmd/browserpass/ pass/ browserpass.go
env GOOS=openbsd GOARCH=amd64 go build -o $@ ./cmd/browserpass

.PHONY: static-files chrome firefox
Expand Down

0 comments on commit a559fdb

Please sign in to comment.