Files
cthulhu-tentacles/Makefile
T

19 lines
468 B
Makefile

GOCACHE ?= /tmp/cthulhu-cache
export GOCACHE
.PHONY: build check package
build:
go build -buildvcs=false -mod=readonly -o hello-world/bin/hello-world ./hello-world/src
go build -buildvcs=false -mod=readonly -o wormhole/bin/wormhole-tentacle ./wormhole/src
go build -buildvcs=false -mod=readonly -o battery-status/bin/battery-status ./battery-status/src
check: build
go vet ./...
go test ./...
python3 -B tools/check.py
package:
python3 -B tools/package.py