Add basic scaffolding tool to generate new projects
This commit is contained in:
12
Makefile
12
Makefile
@ -1,6 +1,16 @@
|
||||
build: embed
|
||||
CGO_ENABLED=0 go build -o ./bin/scaffold ./cmd/scaffold
|
||||
|
||||
embed:
|
||||
find ./ -name rice-box.go | xargs rm -f
|
||||
rice embed-go -i ./cmd/scaffold/command
|
||||
|
||||
test:
|
||||
go clean -testcache
|
||||
go test -v ./...
|
||||
go test -v -race ./...
|
||||
|
||||
watch:
|
||||
modd
|
||||
|
||||
deps:
|
||||
go get -u golang.org/x/tools/cmd/godoc
|
||||
|
Reference in New Issue
Block a user