Skip to content

Commit

Permalink
trying stuff out at this point
Browse files Browse the repository at this point in the history
  • Loading branch information
wilsonwatson committed Jul 26, 2024
1 parent c59a5c6 commit 4b702ab
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

[target.x86_64-pc-windows-gnullvm]
# linker = "/home/jitpack/xpack-mingw-w64-gcc-13.3.0-1/bin"
6 changes: 6 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,13 @@ dependencies {
implementation 'org.apache.commons:commons-lang3:3.15.0'
}

task printEverything(type: Exec) {
workingDir '/home/jitpack'
commandLine 'find', '.'
}

task buildRustWindows(type: Exec) {
dependsOn('printEverything')
environment 'PATH', System.getenv('PATH') + ":/home/jitpack/xpack-mingw-w64-gcc-13.3.0-1/bin"
commandLine System.properties['user.home'] + '/.cargo/bin/cargo', 'build', '--target', 'x86_64-pc-windows-gnu', '--release'
}
Expand Down

0 comments on commit 4b702ab

Please sign in to comment.