Skip to content

Commit

Permalink
devops: Add shortcuts for insta in bacon (#2037)
Browse files Browse the repository at this point in the history
* devops: Add shortcuts for insta in `bacon`

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
max-sixty and pre-commit-ci[bot] committed Mar 7, 2023
1 parent b05c626 commit a6c7455
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions bacon.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
default_job = "check"

# PRQL additions
[jobs.test-rust-fast]
[jobs.test-fast]
command = ['cargo', 'insta', 'test', '--accept', "--color=always", "-p=prql-compiler", "--lib"]
[jobs.test-rust]
[jobs.test]
command = ['cargo', 'insta', 'test', '--accept', "--color=always"]

# Standard tasks
Expand All @@ -24,11 +24,6 @@ command = ["cargo", "clippy", "--all-targets", "--color", "always"]
need_stdout = false
watch = ["tests", "benches", "examples"]

[jobs.test]
command = ["cargo", "test", "--color", "always"]
need_stdout = true
watch = ["tests"]

[jobs.doc]
command = ["cargo", "doc", "--color", "always", "--no-deps"]
need_stdout = false
Expand Down Expand Up @@ -59,7 +54,6 @@ need_stdout = true
a = "job:check-all"
c = "job:clippy"
d = "job:doc-open"
# i for `insta`
i = "job:test-rust-fast"
f = "job:test-fast"
r = "job:run"
t = "job:test"

0 comments on commit a6c7455

Please sign in to comment.