32 lines
565 B
TOML
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" |