Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@

# Robbie's local helper script for `multi proxy`
/ping.sh

# Generated by Cargo Make
/docs
12 changes: 6 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ tokio-stream = { version = "0.1", features = ["time"] }
toml = { version = "0.8.8", features = ["preserve_order"] }
tracing = { version = "0.1.41", features = ["attributes"] }
tracing-subscriber = { version = "0.3.19", features = [
"json",
"local-time",
"time",
"chrono",
"fmt",
"env-filter",
"json",
"local-time",
"time",
"chrono",
"fmt",
"env-filter",
] }
uuid = { version = "1.9", features = ["serde", "v4"] }

Expand Down
44 changes: 18 additions & 26 deletions Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,40 +3,32 @@ default_to_workspace = false

[env]
CARGO_MAKE_CLIPPY_ARGS = "-- --no-deps"
CARGO_MAKE_FORMAT_TOML_FILES = "*.toml"
CARGO_MAKE_COVERAGE_PROVIDER = "llvm-cov"
CARGO_MAKE_RUN_TOML_FORMAT = true
CARGO_MAKE_SKIP_SLOW_SECONDARY_FLOWS = true

[tasks.dev-test-flow]
dependencies = [
"pre-build",
"format-flow",
"format-toml-conditioned-flow",
"clippy-flow",
"build",
"post-build",
"pre-docs",
"docs",
"post-docs",
"build-flow",
"docs-flow",
"test-flow",
]

[tasks.pre-build]
dependencies = [
"sort-ci",
"format-toml-conditioned-flow",
"unused-dependencies-flow",
]
dependencies = ["sort-ci", "unused-dependencies-flow"]

[tasks.ci-flow]
dependencies = [
"pre-ci-flow",
"print-env-flow",
"pre-build",
"check-format-flow",
"clippy-flow",
"build",
"post-build",
"pre-docs",
"docs",
"post-docs",
"build-flow",
"docs-flow",
"test-flow",
"coverage-flow",
"post-ci-flow",
Expand All @@ -46,12 +38,12 @@ dependencies = [
workspace = true
description = "Run our test suite"
command = "cargo"
args = [
"nextest",
"run",
args = [
"nextest",
"run",
"--locked",
"@@remove-empty(CARGO_MAKE_CARGO_VERBOSE_FLAGS)",
"@@split(CARGO_MAKE_CARGO_BUILD_TEST_FLAGS, )"
"@@remove-empty(CARGO_MAKE_CARGO_VERBOSE_FLAGS)",
"@@split(CARGO_MAKE_CARGO_BUILD_TEST_FLAGS, )",
]

[tasks.help]
Expand All @@ -60,10 +52,10 @@ description = "List help text for wack executable"
category = "Development"
args = [
"run",
"@@remove-empty(CARGO_MAKE_CARGO_VERBOSE_FLAGS)",
"@@remove-empty(CARGO_MAKE_CARGO_VERBOSE_FLAGS)",
"@@split(CARGO_MAKE_CARGO_BUILD_TEST_FLAGS, )",
"--",
"--help"
"--help",
]

[tasks.outdated]
Expand All @@ -82,7 +74,7 @@ workspace = true
description = "Calculate the LoC in src."
category = "Development"
command = "tokei"
args = [ "." ]
args = ["."]

[tasks.sort-ci]
description = "Assert that Cargo.toml is sorted."
Expand All @@ -104,5 +96,5 @@ args = [
"nextest",
"--",
"--lib",
"@@split(CARGO_MAKE_CARGO_BUILD_TEST_FLAGS, )"
"@@split(CARGO_MAKE_CARGO_BUILD_TEST_FLAGS, )",
]
11 changes: 7 additions & 4 deletions dist-workspace.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,12 @@ github-build-setup = "release-prebuild.yml.stub"
# The installers to generate for each app
installers = ["shell", "homebrew"]
# Target platforms to build apps for (Rust target-triple syntax)
targets = ["aarch64-apple-darwin", "aarch64-unknown-linux-gnu", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu"]
targets = [
"aarch64-apple-darwin",
"aarch64-unknown-linux-gnu",
"x86_64-apple-darwin",
"x86_64-unknown-linux-gnu",
]
# Path that installers should place binaries in
install-path = "CARGO_HOME"
# Whether to install an updater program
Expand All @@ -30,12 +35,10 @@ publish-jobs = ["homebrew"]
[dist.github-custom-runners]
x86_64-unknown-linux-gnu = "ubuntu-22.04"
aarch64-unknown-linux-gnu = "ubuntu-22.04-arm"

# Also failing, but maybe unrelated?
# x86_64-pc-windows-msvc = "ubuntu-22.04"

# aarch64-apple-darwin = "ubuntu-22.04"
# aarch64-pc-windows-msvc = "ubuntu-22.04"
# x86_64-apple-darwin = "ubuntu-22.04"


Loading