mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-06-18 22:23:07 -03:00
Makefile go generate base
This commit is contained in:
16
Makefile
16
Makefile
@ -1,5 +1,13 @@
|
||||
samples:
|
||||
git clone git@github.com:github/linguist.git .linguist\
|
||||
LINGUIST_PATH = .linguist
|
||||
|
||||
test: samples
|
||||
go test -v ./...
|
||||
$(LINGUIST_PATH):
|
||||
git clone git@github.com:github/linguist.git $@
|
||||
|
||||
test: $(LINGUIST_PATH)
|
||||
go test -v ./...
|
||||
|
||||
code-generate: $(LINGUIST_PATH)
|
||||
go run internal/code-generator/main.go
|
||||
|
||||
clean:
|
||||
rm -rf $(LINGUIST_PATH)
|
Reference in New Issue
Block a user