Files

26 lines
455 B
Makefile

.PHONY: help fmt test vet build run-ui doctor
help:
@printf 'Targets: fmt test vet build run-ui doctor\n'
fmt:
gofmt -w cmd internal
test:
go test ./...
vet:
go vet ./...
build:
mkdir -p bin
go build -o bin/potatiumd ./cmd/potatiumd
go build -o bin/potatium-miner ./cmd/potatium-miner
go build -o bin/potatium-cli ./cmd/potatium-cli
run-ui:
go run ./cmd/potatiumd -web-dir web/wallet -listen 127.0.0.1:8080
doctor:
bash scripts/doctor.sh