From a36263e7e1c762e44b66efe243ee54f92deb3e25 Mon Sep 17 00:00:00 2001 From: Chip Senkbeil Date: Tue, 6 Jun 2023 15:28:17 -0700 Subject: [PATCH] Fix makefile --- .github/workflows/ci.yml | 2 ++ Makefile.toml | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7654638..e2def83 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,11 +4,13 @@ on: push: paths-ignore: - '**.md' + - 'Makefile.toml' branches: - master pull_request: paths-ignore: - '**.md' + - 'Makefile.toml' branches: - master diff --git a/Makefile.toml b/Makefile.toml index c71c87a..bec3769 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -1,21 +1,26 @@ [tasks.format] +clear = true install_crate = "rustfmt-nightly" command = "cargo" args = ["+nightly", "fmt", "--all"] [tasks.test] +clear = true command = "cargo" args = ["test", "--release", "--all-features", "--workspace"] [tasks.ci-test] +clear = true command = "cargo" args = ["nextest", "run", "--profile", "ci", "--release", "--all-features", "--workspace"] [tasks.post-ci-test] +clear = true command = "cargo" args = ["test", "--release", "--all-features", "--workspace", "--doc"] [tasks.publish] +clear = true script = ''' cargo publish --all-features -p distant-auth cargo publish --all-features -p distant-protocol @@ -27,6 +32,7 @@ cargo publish --all-features ''' [tasks.dry-run-publish] +clear = true script = ''' cargo publish --all-features --dry-run -p distant-auth cargo publish --all-features --dry-run -p distant-protocol