File tree 2 files changed +5
-0
lines changed
2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,9 @@ generate:
102
102
.PHONY : generate-swagger
103
103
generate-swagger :
104
104
@hash swagger > /dev/null 2>&1 ; if [ $$ ? -ne 0 ]; then \
105
+ cd .. ; \
105
106
GO111MODULE=
" on" $(GO ) get -u github.com/go-swagger/go-swagger/cmd/
[email protected] ; \
107
+ cd gitea ; \
106
108
fi
107
109
swagger generate spec -o ' ./$(SWAGGER_SPEC)'
108
110
$(SED_INPLACE ) ' $(SWAGGER_SPEC_S_TMPL)' ' ./$(SWAGGER_SPEC)'
@@ -120,7 +122,9 @@ swagger-check: generate-swagger
120
122
.PHONY : swagger-validate
121
123
swagger-validate :
122
124
@hash swagger > /dev/null 2>&1 ; if [ $$ ? -ne 0 ]; then \
125
+ cd .. ; \
123
126
GO111MODULE=
" on" $(GO ) get -u github.com/go-swagger/go-swagger/cmd/
[email protected] ; \
127
+ cd gitea ; \
124
128
fi
125
129
$(SED_INPLACE ) ' $(SWAGGER_SPEC_S_JSON)' ' ./$(SWAGGER_SPEC)'
126
130
swagger validate ' ./$(SWAGGER_SPEC)'
Original file line number Diff line number Diff line change
1
+ This is a test file. Please remove me.
You can’t perform that action at this time.
0 commit comments