Add basic scaffolding tool to generate new projects

This commit is contained in:
2020-02-12 22:07:57 +01:00
parent 35bd6d65bb
commit 7a88321a69
28 changed files with 1063 additions and 3 deletions

View File

@ -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