mirror of
https://github.com/tribufu/tribufu-java
synced 2026-05-06 14:57:27 +00:00
Update Package.ps1
This commit is contained in:
parent
093a254b5a
commit
83feb942ab
1 changed files with 9 additions and 2 deletions
|
|
@ -1,5 +1,11 @@
|
|||
#!/usr/bin/env pwsh
|
||||
|
||||
echo "Building Native Library"
|
||||
|
||||
cargo build --release
|
||||
|
||||
echo "Building JVM Library"
|
||||
|
||||
./gradlew build
|
||||
./gradlew jar
|
||||
|
||||
|
|
@ -15,6 +21,7 @@ New-Item -Path "./Release/Android/armeabi-v7a" -ItemType Directory -Force
|
|||
New-Item -Path "./Release/Android/x86" -ItemType Directory -Force
|
||||
New-Item -Path "./Release/Android/x86_64" -ItemType Directory -Force
|
||||
|
||||
Copy-Item -Path "./lib/build/libs/lib-0.0.1.jar" -Destination "./Release/TribuFu.jar" -Recurse -Force
|
||||
echo "Copying Artifacts"
|
||||
|
||||
Copy-Item -Path "./Binaries/debug/TribuFu_jvm.dll" -Destination "./Release/Windows/TribuFu_jvm.dll" -Recurse -Force
|
||||
Copy-Item -Path "./lib/build/libs/lib-0.0.1.jar" -Destination "./Release/TribuFu.jar" -Recurse -Force
|
||||
Copy-Item -Path "./Binaries/release/TribuFu_jvm.dll" -Destination "./Release/Windows/TribuFu_jvm.dll" -Recurse -Force
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue