forked from loafle/openapi-generator-original
integrate with sbt assembly generated jar
This commit is contained in:
parent
965df0bc2a
commit
ad81434310
@ -18,5 +18,15 @@ if [ ! -d "${APP_DIR}" ]; then
|
||||
fi
|
||||
|
||||
cd $APP_DIR
|
||||
|
||||
|
||||
# if you've executed sbt assembly previously it will use that instead.
|
||||
ags="com.wordnik.swagger.codegen.ScalaAsyncClientGenerator $@"
|
||||
./sbt "run-main $ags"
|
||||
|
||||
if [ -f $APP_DIR/target/swagger-codegen.jar ]; then
|
||||
java -cp target/swagger-codegen.jar $ags
|
||||
else
|
||||
./sbt "run-main $ags"
|
||||
fi
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user