25 lines
334 B
Makefile
25 lines
334 B
Makefile
default: run
|
|
|
|
MAIN := mist-connections.go
|
|
ASSETS := assets/assets_gen.go
|
|
|
|
generate:
|
|
@rm -rf $(ASSETS) && go generate $(MAIN)
|
|
|
|
run: generate
|
|
@go run $(MAIN)
|
|
|
|
bin: generate
|
|
@go build .
|
|
|
|
release:
|
|
@goreleaser release --snapshot --rm-dist
|
|
|
|
install:
|
|
@go install .
|
|
|
|
build:
|
|
@go build .
|
|
|
|
.PHONY: generate run bin release install build
|