2018-11-29 14:42:32 +00:00
|
|
|
.PHONY: all run deps docs build test
|
2018-05-27 15:55:35 +00:00
|
|
|
|
|
|
|
TARGET=gomark
|
|
|
|
|
2018-06-14 13:46:41 +00:00
|
|
|
|
2018-10-25 16:09:03 +00:00
|
|
|
all: build
|
2017-10-20 10:59:24 +00:00
|
|
|
|
|
|
|
run:
|
2017-10-20 11:00:17 +00:00
|
|
|
@go run *.go
|
2017-11-23 20:50:06 +00:00
|
|
|
|
|
|
|
deps:
|
|
|
|
go get
|
2018-05-27 15:55:35 +00:00
|
|
|
|
|
|
|
docs:
|
|
|
|
@godoc2md gomark > API.md
|
|
|
|
|
|
|
|
build:
|
2018-06-14 13:46:41 +00:00
|
|
|
@go build -o $(TARGET) *.go
|
2018-05-27 15:55:35 +00:00
|
|
|
|
2018-11-29 14:42:32 +00:00
|
|
|
test:
|
|
|
|
@go test ./... | grep -v 'no test files'
|