Commit graph

13 commits

Author SHA1 Message Date
bors 9d93ba09d1 auto merge of #555 : alexcrichton/cargo/issue-215, r=brson
Also print the commands only right before they're actually run.

Closes #215
2014-09-11 21:28:53 +00:00
Alex Crichton 7a542c51b7 Don't print Running for commands that aren't run
Also print the commands only right before they're actually run.

Closes #215
2014-09-11 07:35:25 -07:00
Brian Koropoff 11d2e999b3 Fix obsolete extern crate syntax in some of the tests 2014-09-10 22:36:23 -07:00
Alex Crichton 4a70a7a111 Don't show Fresh by default
But still show it with --verbose

Closes #473
2014-09-05 10:16:21 -07:00
Alex Crichton 6ab594305b Don't run doc tests for cargo bench
They're not really related to benchmarks!

Closes #486
2014-09-02 11:49:16 -07:00
Alex Crichton c13d1cf9de Fix cargo-run rebasings and tests
Closes #443
2014-08-27 08:09:35 -07:00
Alex Crichton d5cb12cad2 Roll back git2 a bit to fix tests 2014-08-26 22:33:06 -07:00
Alex Crichton 1322a392eb Help debug a flaky windows test 2014-08-26 18:58:58 -07:00
Alex Crichton 8cce8996be Remove all subcommand executables
This commit removes all distributed executables except for `cargo`. All
builtin subcommands are implemented through library calls, and the fallback
methods are retained to maintain extensability through new subcommands.

Closes #393
2014-08-26 18:25:28 -07:00
Alex Crichton 37538a13ac Don't build docs/tests into separate dirs
This commit changes the hash of Profile to only take into account
flags/variables that affect the actual output file itself (as opposed to its
location), and then changes cargo {test, build, doc} to all use the same
directory of output (in order to share deps).

This will cause a `cargo build` to remove all of the tests generated by `cargo
test`, but it speeds up the cycle of `cargo test` followed by a `cargo build` by
not needing to rebuild all dependencies.

Additionally, `cargo bench` now shares the same directory as
`cargo build --release` for the same reasons as above.

Closes #348
2014-08-18 23:16:13 -07:00
Brian Koropoff c6f0d28323 Fix import shadowing errors in tests 2014-08-17 18:34:50 -07:00
Alex Crichton 1a985a5b73 Ensure TARGET is always present for build commands 2014-08-16 12:41:17 -07:00
Erick Tryzelaar 92e40c435b wip: Add cargo-bench, which runs benchmarks at --opt-level=3 2014-08-14 08:14:34 -07:00