sparse/Makefile.toml
Andrew Rioux 3257dfced0 build: adding to Cargo make config
Adding default tasks and setup task to run when container is made
2023-05-06 23:35:38 -04:00

32 lines
565 B
TOML

[env]
CARGO_MAKE_EXTEND_WORKSPACE_MAKEFILE = true
[config]
skip_core_tasks = true
[tasks.default]
dependencies = ["build"]
[tasks.build]
workspace = false
command = "docker-compose"
args = ["run", "build", "${@}"]
[tasks.fmt]
command = "cargo"
args = ["fmt"]
#----------------------------------
#
# Project setup tasks
#
#----------------------------------
[tasks.setup]
dependencies = ["pull-rust-image", "update-submodules"]
[tasks.pull-rust-image]
shell = "docker pull rust:1-alpine"
[tasks.update-submodules]
shell = "git submodule update --init"