File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -21,14 +21,18 @@ commit:
2121
2222# Create sources
2323% /openapi-generator-config.yml :
24- mkdir -p " $( @D) " ; \
24+ @ mkdir -p " $( @D) " ; \
2525 tag_name=$(shell basename $(shell dirname $@ ) ) ; \
2626 swift Scripts/GeneratorConfigBuilder.swift $$ tag_name
2727
28- % /Client.swift % /Types.swift : % /openapi-generator-config.yml $(OPENAPI_PATH )
29- mint run apple/swift-openapi-generator generate " $( OPENAPI_PATH) " \
28+ % /Client.swift % /Types.swift : $(OPENAPI_PATH )
29+ @echo " \n\nFolder $( @D) running"
30+ @$(MAKE ) " $( @D) /openapi-generator-config.yml"
31+ mint run apple/swift-openapi-generator generate \
32+ " $( OPENAPI_PATH) " \
3033 --config " $( @D) /openapi-generator-config.yml" \
3134 --output-directory " $( @D) " ;
35+ @touch $(@D ) /* .swift
3236 @rm " $( @D) /openapi-generator-config.yml" ;
3337 @echo ;
3438
You can’t perform that action at this time.
0 commit comments