mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
043b3907fe
Co-authored-by: Pepijn Holster <pgaholster@gmail.com> Co-authored-by: PabstMirror <pabstmirror@gmail.com> Co-authored-by: LorenLuke <LukeLLL@aol.com> Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com> Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
60 lines
1.4 KiB
TOML
60 lines
1.4 KiB
TOML
[tasks.install_x32]
|
|
command = "rustup"
|
|
args = ["toolchain", "install", "stable-i686-pc-windows-msvc"]
|
|
|
|
[tasks.build_x64_debug]
|
|
install_crate = false
|
|
command = "cargo"
|
|
args = ["+stable-x86_64-pc-windows-msvc", "build"]
|
|
|
|
[tasks.build_x64_release]
|
|
install_crate = false
|
|
command = "cargo"
|
|
args = ["+stable-x86_64-pc-windows-msvc", "build", "--release"]
|
|
|
|
[tasks.build_x32_debug]
|
|
install_crate = false
|
|
command = "cargo"
|
|
args = ["+stable-i686-pc-windows-msvc", "build", "--target", "i686-pc-windows-msvc"]
|
|
dependencies = ["install_x32"]
|
|
|
|
[tasks.build_x32_release]
|
|
install_crate = false
|
|
command = "cargo"
|
|
args = ["+stable-i686-pc-windows-msvc", "build", "--release", "--target", "i686-pc-windows-msvc"]
|
|
dependencies = ["install_x32"]
|
|
|
|
[tasks.move_x64_debug]
|
|
script_runner = "@shell"
|
|
script = '''
|
|
cp ../target/debug/ace.dll ../ace_x64.dll
|
|
'''
|
|
dependencies = ["build_x64_debug"]
|
|
|
|
[tasks.move_x64_release]
|
|
script_runner = "@shell"
|
|
script = '''
|
|
cp ../target/release/ace.dll ../ace_x64.dll
|
|
'''
|
|
dependencies = ["build_x64_release"]
|
|
|
|
[tasks.move_x32_debug]
|
|
script_runner = "@shell"
|
|
script = '''
|
|
cp ../target/i686-pc-windows-msvc/debug/ace.dll ../ace.dll
|
|
'''
|
|
dependencies = ["build_x32_debug"]
|
|
|
|
[tasks.move_x32_release]
|
|
script_runner = "@shell"
|
|
script = '''
|
|
cp ../target/i686-pc-windows-msvc/release/ace.dll ../ace.dll
|
|
'''
|
|
dependencies = ["build_x32_release"]
|
|
|
|
[tasks.debug]
|
|
dependencies = ["move_x32_debug", "move_x64_debug"]
|
|
|
|
[tasks.release]
|
|
dependencies = ["move_x32_release", "move_x64_release"]
|