Skip to content

Commit

Permalink
Add cargo install and some third party subcommands.
Browse files Browse the repository at this point in the history
(Would be nice for #41 to be fixed...)
  • Loading branch information
huonw committed Apr 25, 2016
1 parent 29fe595 commit 9b73cda
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions travis_cargo.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,10 +332,12 @@ def cargo_sc(name, features):
NO_FEATURE_CARGO = [
'clean', 'fetch', 'generate-lockfile', 'git-checkout', 'help', 'locate-project',
'login', 'new', 'owner', 'package', 'pkgid', 'publish', 'read-manifest', 'search',
'update', 'verify-project', 'version', 'yank'
'update', 'verify-project', 'version', 'yank',
# FIXME #41: manually allow some third party subcommands
'clippy', 'fmt',
]
FEATURE_CARGO = [
'build', 'bench', 'test', 'doc', 'run', 'rustc', 'rustdoc',
'build', 'bench', 'test', 'doc', 'run', 'rustc', 'rustdoc', 'install',
]
SC_INFO.update((c, cargo_sc(c, False)) for c in NO_FEATURE_CARGO)
SC_INFO.update((c, cargo_sc(c, True)) for c in FEATURE_CARGO)
Expand Down

0 comments on commit 9b73cda

Please sign in to comment.