From 120ce89ee71128bac4a07425e312550e690744dc Mon Sep 17 00:00:00 2001 From: Jannis Mattheis Date: Sat, 10 Mar 2018 11:35:29 +0100 Subject: [PATCH] Remove packr step in makefile --- Makefile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 7573f8a..d155282 100644 --- a/Makefile +++ b/Makefile @@ -34,17 +34,13 @@ download-tools: go get -u github.com/gobuffalo/packr/... go get -u github.com/go-swagger/go-swagger/cmd/swagger -update-swagger-spec: +update-swagger: swagger generate spec --scan-models -o docs/spec.json -update-swagger: update-swagger-spec - (cd docs && packr) - -check-swagger: update-swagger-spec +check-swagger: update-swagger ## add the docs to git, this changes line endings in git, otherwise this does not work on windows git add docs if [ -n "$(shell git status --porcelain | grep docs)" ]; then \ - git status --porcelain | grep docs; \ echo Swagger Spec is not up-to-date; \ exit 1; \ fi