sparse/Makefile.toml
2023-05-06 23:35:38 -04:00

45 lines
738 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"
#----------------------
#
# CI tasks
#
#----------------------
[tasks.ci]
dependencies = ["setup", "build"]
[tasks.convco-check]
command = "convco"
args = ["check"]