You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* update makefile
minor changes
minor changes
minor changes
* get templates from prefix_bin
minor changes
minor changes
* add linux test auto-generation in macos-step (makefile)
minor changes
* decouple fixtures from install - makefile
minor changes
valid Makefile
letresult=run("/usr/local/bin/swagger-codegen", args:["generate","--lang","swift4","--input-spec","\(scheme)","--output","\(output)","--template-dir","\(template)"]){ settings in
40
+
letresult=run("/usr/local/bin/swagger-codegen", args:["generate","--lang","swift4","--input-spec","\(scheme)","--output","\(output)","--template-dir","\(template.path)"]){ settings in
29
41
settings.execution =.log(file: logPath)
30
42
}
31
43
#endif
@@ -38,13 +50,13 @@ public class SwaggerClientGenerator: ClientGenerator {
38
50
returnEnvIO{ _ inrunSwagger()}
39
51
}
40
52
41
-
internalfunc reorganizeFiles(moduleName:String, in outputPath:OutputPath, fromTemplate templatePath:String)->EnvIO<FileSystem,APIClientError,()>{
53
+
internalfunc reorganizeFiles(moduleName:String, in outputPath:OutputPath, fromTemplate template:URL)->EnvIO<FileSystem,APIClientError,()>{
42
54
EnvIO{ fileSystem in
43
55
binding(
44
56
|<-fileSystem.moveFiles(in:"\(outputPath.sources)/SwaggerClient/Classes/Swaggers", to: outputPath.sources),
0 commit comments