mirror of
https://github.com/sorenisanerd/gotty.git
synced 2024-11-09 23:34:26 +00:00
28 lines
591 B
YAML
28 lines
591 B
YAML
box: tcnksm/gox
|
|
|
|
build:
|
|
steps:
|
|
- setup-go-workspace
|
|
- script:
|
|
name: go get
|
|
code: |
|
|
go get github.com/tools/godep
|
|
godep restore
|
|
- script:
|
|
name: check format
|
|
code: |
|
|
if [ `go fmt ./... | wc -l` -gt 0 ]; then echo "go fmt error"; exit 1; fi
|
|
- tcnksm/gox:
|
|
os: "darwin linux"
|
|
arch: "386 amd64"
|
|
- yudai/targz:
|
|
input: $WERCKER_OUTPUT_DIR/pkg
|
|
output: $WERCKER_OUTPUT_DIR/dist
|
|
|
|
deploy:
|
|
steps:
|
|
- tcnksm/ghr:
|
|
token: $GITHUB_TOKEN
|
|
input: dist
|
|
replace: true
|