Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
kaklakariada committed Sep 21, 2024
1 parent 68809c1 commit 03e8c01
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 29 deletions.
16 changes: 0 additions & 16 deletions .vscode/launch.json

This file was deleted.

4 changes: 2 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"--enable-native-access=ALL-UNNAMED"
],
"env": {
"LD_LIBRARY_PATH": "${workspaceFolder}/build/lua-install/lib/",
"DYLD_LIBRARY_PATH": "${workspaceFolder}/build/lua-install/lib/"
"LD_LIBRARY_PATH": "${workspaceFolder}/build/lua-libs/",
"DYLD_LIBRARY_PATH": "${workspaceFolder}/build/lua-libs/"
}
},
"files.exclude": {
Expand Down
7 changes: 5 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ testing {
testTask.configure {
systemProperty 'java.util.logging.config.file', 'src/test/resources/logging.properties'
systemProperty 'jextract.trace.downcalls', 'true'
environment "LD_LIBRARY_PATH", "${project.buildDir}/lua-install/lib/"
environment "DYLD_LIBRARY_PATH", "${project.buildDir}/lua-install/lib/"
environment "LD_LIBRARY_PATH", "${project.buildDir}/lua-libs/"
environment "DYLD_LIBRARY_PATH", "${project.buildDir}/lua-libs/"
jvmArgs '--enable-native-access=ALL-UNNAMED'
}
}
Expand Down Expand Up @@ -91,6 +91,9 @@ task buildLua(type: Exec) {
}
}

tasks.test.dependsOn(tasks.buildLua)
tasks.build.dependsOn(tasks.buildLua)

task cleanLua(type: Exec) {
workingDir "${projectDir}/lua/src"
commandLine 'make', 'clean'
Expand Down
9 changes: 0 additions & 9 deletions src/main/java/org/itsallcode/jlua/Test.java

This file was deleted.

0 comments on commit 03e8c01

Please sign in to comment.