Commit graph

16 commits

Author SHA1 Message Date
Carl Lerche f4d6d02135 Beginnings of a dependency resolver 2014-04-11 15:11:10 -07:00
Yehuda Katz 3a15f5b786 Add support for reading config 2014-04-06 18:26:36 -07:00
Yehuda Katz 5fb7a4f1cc Lots of cleanup and more generic commands
Started to extract some of the generic behavior across all commands into
`execute_main` so that the commands themselves just need to operate
against structs (for JSON in and Flags)
2014-03-20 14:02:51 -07:00
Carl Lerche c31dc13ac5 Move test build into target 2014-03-20 10:57:39 -07:00
Carlhuda 3b350463af Integration tests working
Next up: cleanup
2014-03-19 18:25:14 -07:00
Carl Lerche 07af6fdd4a A passing test 2014-03-19 17:57:12 -07:00
Carl Lerche 4274ac261f Trying to shell out 2014-03-19 11:44:43 -07:00
Carl Lerche 8c005bb48d Initial stab at integration tests
At the same time, we started adding a generic error handling concept to
Cargo.

The idea is that every Result gets converted to a CargoError, which
includes all the information that Cargo needs to print out a friendly
human error message and exit gracefully.
2014-03-18 18:10:48 -07:00
Carl Lerche 4e236c8558 Add cargo-compile command 2014-03-17 17:48:47 -07:00
Carl Lerche 04e774e818 Vendor hamcrest-rust 2014-03-12 16:19:39 -07:00
Carl Lerche 264d4a00ca Use cargo conventions for cargo itself 2014-03-12 15:32:47 -07:00
Carl Lerche 904d8612a9 cargo-read-manifest | cargo-rustc is working
At the moment, only the bare bones command is working with some defaults
hardcoded. Also, there is a bunch of necessary cleanup and no tests.

However, this marks the first end-to-end functionality in Cargo!
2014-03-10 17:38:31 -07:00
Carl Lerche 3e083cb724 Share manifest structs 2014-03-10 16:30:20 -07:00
Carl Lerche ee870c99e5 Update deps and Makefile 2014-03-07 16:14:57 -08:00
Carlhuda 03943b7dbb Add sketch of cargo-verify-project 2014-03-04 17:48:31 -08:00
Carlhuda 227d4e83ef Initial commit 2014-03-04 15:22:44 -08:00