Skip to content

Commit

Permalink
Restore precious config to run omegasort
Browse files Browse the repository at this point in the history
  • Loading branch information
autarch committed Jun 4, 2023
1 parent 630ca5f commit 5086637
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
1 change: 1 addition & 0 deletions dev/bin/install-dev-tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ function install_tools () {
sh
run "rustup component add clippy"
run "ubi --project houseabsolute/precious --in ~/bin"
run "ubi --project houseabsolute/omegasort --in ~/bin"
run "npm install prettier"
}

Expand Down
16 changes: 8 additions & 8 deletions precious.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ ok_exit_codes = 0
lint_failure_exit_codes = 1
ignore_stderr = [ "Code style issues" ]

# [commands.omegasort-gitignore]
# type = "both"
# include = "**/.gitignore"
# cmd = [ "cargo", "run", "--sort", "path", "--unique" ]
# lint_flags = "--check"
# tidy_flags = "--in-place"
# ok_exit_codes = 0
# lint_failure_exit_codes = 1
[commands.omegasort-gitignore]
type = "both"
include = "**/.gitignore"
cmd = [ "omegasort", "--sort", "path", "--unique" ]
lint_flags = "--check"
tidy_flags = "--in-place"
ok_exit_codes = 0
lint_failure_exit_codes = 1

0 comments on commit 5086637

Please sign in to comment.