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
Carlhuda
62bff631e9
Restructure and progress towards simple compile
...
For now, we're going to use the operations as a library. We have some
work to do before they can transparently be used as commands, but we're
keeping an eye on making sure they remain conceptually usable over the
shell.
2014-04-18 17:23:07 -07:00
Carlhuda
084da4fc64
WIP
2014-04-11 17:39:18 -07:00
aeyk
83651db4e6
Update README.md
...
Removed comment about make install as no install directive, added --recursive tag
2014-04-11 20:23:20 -04:00
Carlhuda
1939963e45
Add a resolving test
2014-04-11 16:01:33 -07:00
Carlhuda
88dc9f14e2
Add transitive dependencies to the resolver
2014-04-11 15:55:47 -07:00
Carlhuda
40353e83c6
Whitespace
2014-04-11 15:14:37 -07:00
Carl Lerche
f4d6d02135
Beginnings of a dependency resolver
2014-04-11 15:11:10 -07:00
Carlhuda
677356b094
Track Rust master
2014-04-11 15:05:53 -07:00
aeyk
41a4df261e
Update README.md
2014-04-11 06:11:45 -04:00
Carl Lerche
4b9fbcb264
Start extracting core types
2014-04-09 13:49:29 -07:00
Carl Lerche
db92e67c87
Track rust master
2014-04-09 13:28:10 -07:00
Yehuda Katz
739b130975
Now can get all configs
2014-04-06 20:31:50 -07:00
Yehuda Katz
3a15f5b786
Add support for reading config
2014-04-06 18:26:36 -07:00
Carl Lerche
79fe64158c
Implement process hamcrest matcher
2014-04-02 16:34:19 -07:00
Carl Lerche
6899567bc3
Update tests against Rust master
2014-04-02 13:22:45 -07:00
Yehuda Katz
e705d507e6
Up to date with master
2014-04-01 22:31:11 -07:00
Yehuda Katz
1b1044b639
Encoding and decoding now in libcargo
...
Commands can now call a simple function (execute_main) with some type
params, and get flags and stdin converted into their expected structs
automatically. Commands that return a json-serializable struct will also
get that struct automatically serialized into the output.
Additionally, error handling is now handled in a central location. If a
command returns a CargoError, its message will be printed (soon in
color!) and its exit code will be used to exit the process.
2014-03-20 17:57:34 -07:00