Skip to content

Commit

Permalink
Merge pull request #22 from tofubert/cargo/rework_makefile
Browse files Browse the repository at this point in the history
extend make file
  • Loading branch information
tofubert authored Aug 29, 2024
2 parents 7344428 + d915e75 commit 80578ae
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
3 changes: 0 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ exclude = [
"tags",
]

[build]
target = ["x86_64-unknown-linux-gnu", "i686-unknown-linux-gnu"]

[dependencies]
reqwest = { version = "0.12", features = ["json"] }
tokio = { version = "1", features = ["full"] }
Expand Down
13 changes: 12 additions & 1 deletion Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ alias = "ci"
description = "Run continuous integration tasks"
dependencies = ["lint", "clippy", "check", "test"]

[tasks.all]
description = "Run all tasks"
dependencies = ["lint", "clippy", "check", "audit", "build", "coverage-text"]


[tasks.clippy]
description = "Run Clippy for linting"
Expand All @@ -29,7 +33,7 @@ args = [

[tasks.lint]
description = "Lint code style (formatting, typos, docs, markdown)"
dependencies = ["lint-format"]
dependencies = ["lint-format", "lint-typos"]

[tasks.lint-format]
description = "Lint code formatting"
Expand Down Expand Up @@ -67,6 +71,13 @@ args = [
"target/lcov.info",
]

[tasks.coverage-text]
description = "Generate code coverage report"
command = "cargo"
args = [
"llvm-cov",
]

[tasks.build]
command = "cargo"
args = ["build"]
Expand Down

0 comments on commit 80578ae

Please sign in to comment.