Skip to content

Commit

Permalink
Fast command line with load at compile
Browse files Browse the repository at this point in the history
  • Loading branch information
machaval committed Nov 5, 2019
1 parent 7b3b30b commit d468ec9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ jobs:
- java -Xmx32m -version
- javac -J-Xmx32m -version
script:
- ./gradlew clean
- travis_wait 40 ./gradlew native-cli:nativeImage
- travis_wait 40 ./gradlew native-cli:distro
deploy:
- provider: script
Expand Down
4 changes: 2 additions & 2 deletions native-common/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ buildscript {
sourceSets {
main {
scala {
srcDirs = ['src/main/scala', 'build/generated']
srcDirs = ['src/main/scala', 'build/genresource']
}
}
}
Expand Down Expand Up @@ -47,7 +47,7 @@ task downloadWlang(type: Copy) {

task genWlangSource {
def wlangResources = new File("$buildDir/wlang")
def genDirectory = new File("$project.buildDir/generated")
def genDirectory = new File("$project.buildDir/genresource")
def outputFile = new File(genDirectory, "org/mule/weave/v2/resources/WeaveResourceLoader.scala")
new ResourceBuilder().run(outputFile, wlangResources);
}
Expand Down

0 comments on commit d468ec9

Please sign in to comment.