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

Commit 19c464c

Browse files
Add all targets to the all commands so that they check all binaries tests and examples
1 parent 771b14c commit 19c464c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/mode.coffee

+2-2
Original file line numberDiff line numberDiff line change
@@ -175,10 +175,10 @@ buildCargoArguments = (linter, cargoManifestPath) ->
175175

176176
cargoArgs = switch linter.cargoCommand
177177
when 'check' then ['check']
178-
when 'check all' then ['check', '--all']
178+
when 'check all' then ['check', '--all', '--all-targets']
179179
when 'check tests' then ['check', '--tests']
180180
when 'test' then ['test', '--no-run']
181-
when 'test all' then ['test', '--no-run', '--all']
181+
when 'test all' then ['test', '--no-run', '--all', '--all-targets']
182182
when 'rustc' then ['rustc', '--color', 'never']
183183
when 'clippy' then ['clippy']
184184
when 'clippy all' then ['clippy', '--workspace', '--all-targets']

0 commit comments

Comments
 (0)