This repository has been archived on 2026-09-13. You can view files and clone it, but cannot push or open issues or pull requests.
xiv_csolver/Makefile.toml

38 lines
567 B
TOML

[tasks.format]
install_crate = "rustfmt"
command = "cargo"
args = ["fmt", "--", "--emit=files"]
[tasks.clean]
command = "cargo"
args = ["clean"]
[tasks.remove_tmp]
script_runner = "@shell"
script = '''
rm -rf releases
rm -rf python/build
rm -rf python/dist
'''
[tasks.build]
command = "cargo"
args = ["build","--release","-q"]
dependencies = ["clean"]
[tasks.maturin]
command = "maturin"
args = ["develop", "--release", "-q"]
[tasks.rust]
dependencies = ["build","maturin"]
[tasks.my-flow]
dependencies = [
"format",
"build",
"test"
]