3
0

Makefile for specs generation

Took 2 minutes


Took 2 minutes
This commit is contained in:
Denis Arh
2018-07-11 20:15:21 +02:00
parent b75becd960
commit 661f5d4e94

View File

@@ -1,4 +1,13 @@
.PHONY: build
SPEC=$(GOPATH)/bin/spec
build:
docker build --rm -t $(shell cat .project) .
.PHONY: build
$(SPEC):
go get github.com/titpetric/spec/cmd/spec
spec: $(SPEC)
cd sam/docs/src && $(SPEC)
cd sam/ && php _gen.php