Commit graph

16254 commits

Author SHA1 Message Date
Yehuda Katz 6af6f4ce4b Up to master 2014-05-09 15:01:05 -07:00
Carl Lerche deb2b70a26 Switch important_paths to using result::CargoResult 2014-05-09 10:29:49 -07:00
Carl Lerche 431e9b8cd0 Mark errors as deprecated 2014-05-09 10:21:36 -07:00
Carl Lerche de0ef6b5cd Misc cleanup 2014-05-09 10:10:39 -07:00
Yehuda Katz 7983a5fd16 Clean up process DSL in tests 2014-05-08 17:50:58 -07:00
Yehuda Katz ecf4f37f5e Add Show to ProcessBuilder 2014-05-08 17:50:58 -07:00
Carl Lerche b3c2350325 More work on porting errors 2014-05-08 17:49:22 -07:00
Yehuda Katz 48dc081419 Get nested dependencies working 2014-05-08 16:50:53 -07:00
Yehuda Katz 23d78ddfb0 Support any bytes container 2014-05-08 16:50:52 -07:00
Carl Lerche 460f63d2fe Start migrating to new CargoResult 2014-05-08 13:38:27 -07:00
Yehuda Katz 682d4e94c8 Get compile test passing 2014-05-08 13:33:04 -07:00
Carl Lerche a72950108d Cleanup ProcessBuilder 2014-05-08 13:13:38 -07:00
Carl Lerche bafa5f2b5a Track Rust master changes 2014-05-08 13:10:08 -07:00
Yehuda Katz 4abaf95b4a More up to date 2014-05-08 13:03:29 -07:00
Carl Lerche e45f2d1c38 Update Hamcrest 2014-05-08 13:03:21 -07:00
Yehuda Katz 0bec82d6ea Have cargo-compile automatically find the root
TODO: Deal with Paths vs. Strings (which come from serialized forms like
flags and manifests)
2014-05-07 16:46:43 -07:00
Yehuda Katz d28ce72351 Get cargo-read-manifest working again 2014-05-07 16:35:55 -07:00
Yehuda Katz da0ec9a39b Clean up cargo-compile 2014-05-07 15:49:01 -07:00
Yehuda Katz adbab76fb0 Merge pull request #7 from Aeyk/patch-1
Update README.md
2014-05-07 15:43:20 -07:00
Yehuda Katz 3667437399 Clean up error messages from config 2014-05-07 14:26:40 -07:00
Carl Lerche 8f6d4afb95 Test unit tests passing again 2014-05-06 17:22:55 -07:00
Carl Lerche 937303398d Source list returns summaries 2014-05-06 16:24:00 -07:00
Carl Lerche c7c6622b71 Comment cleanup 2014-05-05 22:01:34 -07:00
Carl Lerche 1ce7641593 Core struct refactor 2014-05-05 21:54:49 -07:00
Yehuda Katz f0c9fcd215 Add some convenience methods 2014-05-05 19:46:14 -07:00
Yehuda Katz 50f110a4c0 Break apart internal and CLI errors
The Cargo library now uses internal errors to represent problems, and
the operations convert those errors into CLIErrors, which contain a
user-friendly error message, additional information for verbose mode,
and an exit code.
2014-05-05 19:37:56 -07:00
Carl Lerche 8842b02cfd Cleanup ProcessBuilder, work towards getting tests passing 2014-05-05 16:28:01 -07:00
Yehuda Katz 76623a01d4 Fix a bunch of warnings 2014-05-05 14:33:28 -07:00
Yehuda Katz ff85524210 Start breaking up cargo-compile 2014-05-05 11:33:04 -07:00
Yehuda Katz 2fd7aad710 Bring up to date with Rust master 2014-05-05 11:32:49 -07:00
Carlhuda 71066787bf cargo-compile delegates to cargo-rustc 2014-05-01 18:14:24 -07:00
Yehuda Katz cb8dec51b2 Let the resolver return a PackageSet 2014-05-01 17:12:07 -07:00
Yehuda Katz 54ff9c6942 Merge branch 'master' of https://github.com/carlhuda/cargo 2014-05-01 17:06:39 -07:00
Carl Lerche 5cda07974c Compiling with deps progress 2014-05-01 15:23:45 -07:00
Yehuda Katz 9c2967924f Use the resolver to collect packages 2014-05-01 12:59:14 -07:00
Carl Lerche 5accea9f81 Progress towards compiling with dependencies 2014-05-01 12:52:09 -07:00
Yehuda Katz 21598204f3 Move package mapping to Source 2014-04-30 21:38:45 -07:00
Yehuda Katz 04b91119b5 Map config paths onto Packages
TODO: Move this logic into PathSource
2014-04-30 17:14:14 -07:00
Carl Lerche d70ce6b61d Topological sort of packages 2014-04-30 16:34:24 -07:00
Yehuda Katz 0e619d88c8 API for SerializedManifest->Manifest and other org
Also fleshed out the Package struct.

Setting up to convert a vec of project paths into a vec of Packages to
pass to cargo-rustc.
2014-04-30 15:23:03 -07:00
Yehuda Katz 1c75be2de0 Bump rust-toml 2014-04-30 14:35:20 -07:00
Carl Lerche 5d7ece5bae Cleanup + topological sort 2014-04-30 13:06:10 -07:00
Carl Lerche 5db643564f Cleanup 2014-04-30 12:58:33 -07:00
Yehuda Katz 0e1e2ee454 Fleshed out Package a bit more 2014-04-30 12:52:50 -07:00
Yehuda Katz b15cb1de5d Clean up config and support array inheritance 2014-04-29 15:24:01 -07:00
Yehuda Katz bc6a66f9e9 Add vimrc settings 2014-04-29 11:43:18 -07:00
Yehuda Katz 44aac8c402 Add Show for PackagePath 2014-04-29 11:41:03 -07:00
Yehuda Katz 85e4dccef2 Everything's compiling again 2014-04-29 11:05:01 -07:00
Yehuda Katz daf949cf71 Bump submodules 2014-04-29 10:54:30 -07:00
Carlhuda 6b44764893 Start pulling out the configured paths 2014-04-18 18:07:51 -07:00