Skip to content

Commit

Permalink
added missing makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
jacek-kurlit committed Sep 21, 2024
1 parent f90df1a commit 0b1ed05
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 4 deletions.
30 changes: 30 additions & 0 deletions Makefile.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
[tasks.format]
install_crate = "rustfmt"
command = "cargo"
args = ["fmt", "--", "--emit=files"]

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

[tasks.test]
command = "cargo"
args = ["nextest", "run"]

[tasks.lint]
command = "cargo"
args = ["clippy", "--", "-D", "warnings"]

[tasks.ci-test]
dependencies = [
"build",
"test"
]

[tasks.check-all]
dependencies = [
"format",
"lint",
"build",
"test"
]
8 changes: 4 additions & 4 deletions src/main.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use axe::arg_resolver::resolve_cmd_args;
use axe::cli::Cli;
use axe::cmd_exe::execute_cmd;
use axe::stdin::read_stdin_entries;
use axe_cli::arg_resolver::resolve_cmd_args;
use axe_cli::cli::Cli;
use axe_cli::cmd_exe::execute_cmd;
use axe_cli::stdin::read_stdin_entries;
use clap::Parser;

fn main() {
Expand Down

0 comments on commit 0b1ed05

Please sign in to comment.