mirror of
https://github.com/Tribufu/TribufuRust
synced 2026-08-07 11:56:22 +00:00
* Generate native bindings from rust crate * Add native instance and runtime statics * Update README.md
12 lines
415 B
PowerShell
12 lines
415 B
PowerShell
#!/usr/bin/env pwsh
|
|
|
|
echo "Building for win-x64"
|
|
cargo build --workspace
|
|
|
|
New-Item "bin/win-x64" -ItemType Directory -Force
|
|
Remove-Item -Path "bin/win-x64/*" -Force -Recurse
|
|
|
|
Copy-Item -Path "target/debug/tribufu_sdk.dll.lib" -Destination "bin/win-x64/tribufu_sdk.lib"
|
|
Copy-Item -Path "target/debug/tribufu_sdk.dll" -Destination "bin/win-x64/tribufu_sdk.dll"
|
|
|
|
msbuild /p:Configuration="debug" /p:Platform="win-x64"
|