Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Commit

Permalink
Add all targets to the all commands so that they check all binaries t…
Browse files Browse the repository at this point in the history
…ests and examples
  • Loading branch information
QuantumEntangledAndy committed Aug 3, 2021
1 parent 771b14c commit 19c464c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/mode.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -175,10 +175,10 @@ buildCargoArguments = (linter, cargoManifestPath) ->

cargoArgs = switch linter.cargoCommand
when 'check' then ['check']
when 'check all' then ['check', '--all']
when 'check all' then ['check', '--all', '--all-targets']
when 'check tests' then ['check', '--tests']
when 'test' then ['test', '--no-run']
when 'test all' then ['test', '--no-run', '--all']
when 'test all' then ['test', '--no-run', '--all', '--all-targets']
when 'rustc' then ['rustc', '--color', 'never']
when 'clippy' then ['clippy']
when 'clippy all' then ['clippy', '--workspace', '--all-targets']
Expand Down

0 comments on commit 19c464c

Please sign in to comment.