by Xavi Soler
@xavi_xsb
$ dog
build Build dog binary for current platform
build-all Build dog binary for all platforms
clean Clean compiled binaries
dist Put all dist binaries in a compressed file
install-build-deps Installs required dependencies for building dog
run-test-dogfiles Run all Tasks in testdata Dogfiles
- task: clean
description: Clean compiled binaries
run: rm -rf dist
- task: build
description: Build dog binary for current platform
env:
- OUTPUT_PATH=dist/current
- REV=v0.1.0
run: |
go build \
-ldflags "-X main.Release=$REV -w" \
-o "${OUTPUT_PATH}/dog" \
.
- task: run-test-dogfiles
description: Run all Tasks in testdata Dogfiles
run: ./scripts/test-dogfiles.sh