mirror of
https://github.com/mindoc-org/mindoc.git
synced 2026-02-27 17:03:57 +08:00
添加依赖库
This commit is contained in:
35
vendor/github.com/cznic/sortutil/Makefile
generated
vendored
Normal file
35
vendor/github.com/cznic/sortutil/Makefile
generated
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
# Copyright 2014 The sortutil 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 later nuke todo
|
||||
|
||||
grep=--include=*.go
|
||||
|
||||
all: editor
|
||||
go vet
|
||||
golint .
|
||||
make todo
|
||||
|
||||
clean:
|
||||
go clean
|
||||
rm -f *~
|
||||
|
||||
editor:
|
||||
gofmt -s -l -w *.go
|
||||
go test -i
|
||||
go test
|
||||
go build
|
||||
|
||||
later:
|
||||
@grep -n $(grep) LATER * || true
|
||||
@grep -n $(grep) MAYBE * || true
|
||||
|
||||
nuke: clean
|
||||
go clean -i
|
||||
|
||||
todo:
|
||||
@grep -nr $(grep) ^[[:space:]]*_[[:space:]]*=[[:space:]][[:alpha:]][[:alnum:]]* * || true
|
||||
@grep -nr $(grep) TODO * || true
|
||||
@grep -nr $(grep) BUG * || true
|
||||
@grep -nr $(grep) println * || true
|
||||
Reference in New Issue
Block a user