[tasks.default] clear = true dependencies = ["build"] [tasks.dev] script = ''' echo -------- DEV_ACTIONS::\ --------- cargo build ''' dependencies = ["fmt"] watch = {} [tasks.stage] script = ''' echo -------- STAGING_ACTIONS::\ --------- cargo build --release ''' dependencies = ["check_licenses", "fmt", "tests", "doc_tests"] watch = {} [tasks.production] script = ''' echo -------- PRODUCTION_ACTIONS::\ --------- cargo build --release ''' dependencies = [ "check_licenses", "fmt", "tests", "doc_tests", "publish_crates_io", ] watch = {} [tasks.check_licenses] script = ''' echo -------- LICENCE_COMPATIBILITY_CHECKS::\ --------- cargo deny check ''' [tasks.tests] script = ''' echo -------- WORKSPACE_TESTS::\ --------- cargo test --workspace ''' [tasks.doc_tests] script = ''' echo -------- WORKSPACE_DOC_TESTS::\ --------- cargo test --doc ''' [tasks.fmt] script = ''' echo -------- RUN_FORMATTER::\ --------- cargo fmt ''' [tasks.publish_crates_io] script = ''' echo -------- crates.io_PUBLISH_DRY_RUN::\ --------- cargo publish --dry-run '''