-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpackagr.yml
19 lines (18 loc) · 1.05 KB
/
packagr.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
---
engine_enable_code_mutation: true
engine_cmd_compile:
- 'GOOS=darwin GOARCH=amd64 go build -ldflags "-X main.goos=darwin -X main.goarch=amd64" -o drawbridge-darwin-amd64 -tags "static" $(go list ./cmd/...)'
- 'chmod +x drawbridge-darwin-amd64'
- 'GOOS=linux GOARCH=amd64 go build -ldflags "-X main.goos=linux -X main.goarch=amd64" -o drawbridge-linux-amd64 -tags "static" $(go list ./cmd/...)'
- 'chmod +x drawbridge-linux-amd64'
- 'GOOS=windows GOARCH=amd64 go build -ldflags "-X main.goos=windows -X main.goarch=amd64" -o drawbridge-windows-amd64.exe -tags "static" $(go list ./cmd/...)'
engine_cmd_test: 'go test -v -tags "static" $(go list ./... | grep -v /vendor/)'
engine_cmd_lint: 'gometalinter.v2 --vendor --config=gometalinter.json ./...'
scm_enable_branch_cleanup: true
scm_release_assets:
- local_path: drawbridge-linux-amd64
artifact_name: drawbridge-linux-amd64
- local_path: drawbridge-darwin-amd64
artifact_name: drawbridge-darwin-amd64
- local_path: drawbridge-windows-amd64.exe
artifact_name: drawbridge-windows-amd64.exe