mirror of
https://github.com/italicsjenga/ableton-rack-converter.git
synced 2024-11-22 07:01:30 +11:00
fixed to cross-compile from linux
This commit is contained in:
parent
6b4955e29c
commit
38b04ced37
|
@ -1,5 +1,7 @@
|
|||
cargo build --target-dir=./build/macos --release
|
||||
#!/bin/bash
|
||||
# set -e
|
||||
cargo build --target=x86_64-apple-darwin --target-dir=./build/macos --release
|
||||
mkdir -p build/release/macos
|
||||
cp build/macos/release/converter build/release/macos/ableton-rack-converter
|
||||
cp build/macos/release/compressor build/release/macos/xml-to-rack
|
||||
cp build/macos/release/decompressor build/release/macos/rack-to-xml
|
||||
cp build/macos/x86_64-apple-darwin/release/converter build/release/macos/ableton-rack-converter
|
||||
cp build/macos/x86_64-apple-darwin/release/compressor build/release/macos/xml-to-rack
|
||||
cp build/macos/x86_64-apple-darwin/release/decompressor build/release/macos/rack-to-xml
|
|
@ -1,5 +1,7 @@
|
|||
cargo build --target=x86_64-pc-windows-gnu --target-dir=./build/windows --release
|
||||
#!/bin/bash
|
||||
# set -e
|
||||
cargo build --target=x86_64-pc-windows-gnu --target-dir=./build/release/windows --release
|
||||
mkdir -p build/release/windows
|
||||
cp build/windows/x86_64-pc-windows-gnu/release/converter.exe build/release/windows/ableton-rack-converter.exe
|
||||
cp build/windows/x86_64-pc-windows-gnu/release/compressor.exe build/release/windows/xml-to-rack.exe
|
||||
cp build/windows/x86_64-pc-windows-gnu/release/decompressor.exe build/release/windows/rack-to-xml.exe
|
||||
cp build/windows/x86_64-pc-windows-gnu/release/decompressor.exe build/release/windows/rack-to-xml.exe
|
4
build.sh
4
build.sh
|
@ -1,7 +1,9 @@
|
|||
#!/bin/bash
|
||||
# set -e
|
||||
rm -rf build/release
|
||||
mkdir -p build/release
|
||||
./build-macos.sh
|
||||
./build-windows.sh
|
||||
cd build/release
|
||||
zip -j macos-ableton-rack-converter.zip macos/*
|
||||
zip -j windows-ableton-rack-converter.zip windows/*
|
||||
zip -j windows-ableton-rack-converter.zip windows/*.exe
|
Loading…
Reference in a new issue