mirror of
https://github.com/mindoc-org/mindoc.git
synced 2026-02-27 17:03:57 +08:00
28 lines
512 B
Makefile
28 lines
512 B
Makefile
# Copyright (c) 2014 The fileutil authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style
|
|
# license that can be found in the LICENSE file.
|
|
|
|
.PHONY: all clean editor todo
|
|
|
|
all: editor
|
|
go vet
|
|
golint .
|
|
go install
|
|
make todo
|
|
|
|
editor:
|
|
go fmt
|
|
go test -i
|
|
go test
|
|
go build
|
|
|
|
todo:
|
|
@grep -n ^[[:space:]]*_[[:space:]]*=[[:space:]][[:alpha:]][[:alnum:]]* *.go || true
|
|
@grep -n TODO *.go || true
|
|
@grep -n BUG *.go || true
|
|
@grep -n println *.go || true
|
|
|
|
clean:
|
|
@go clean
|
|
rm -f y.output
|