This repository has been archived by the owner on Jan 8, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
Commits on Jun 6, 2018
-
- add cargo cache to travis - fix travis badge into cargo.toml - 1.17.0 build can fail
Configuration menu - View commit details
-
Copy full SHA for 64c1bc8 - Browse repository at this point
Copy the full SHA 64c1bc8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ec7760 - Browse repository at this point
Copy the full SHA 2ec7760View commit details -
Use rust modules to reflect the following code design: - src/main.rs cli, setup, logs, IO - src/lib.rs core logic (can be re-exported)
Configuration menu - View commit details
-
Copy full SHA for fac490a - Browse repository at this point
Copy the full SHA fac490aView commit details -
The api breaks in different point, particularly there is no more a `call_main_without_stdin` function. Because of that the cli arguments are temporarily dropped.
Configuration menu - View commit details
-
Copy full SHA for e7a61f8 - Browse repository at this point
Copy the full SHA e7a61f8View commit details -
Use structopt for argument parsing
Structopt is the ergonomic argument-as-structures in rust. The arguments are organized in commands and subcommands: - src/main.rs non-cargo configuration and cli parsing (-v, -q) - src/lib.rs real cli parsing and defaults (build [args], etc)
Configuration menu - View commit details
-
Copy full SHA for d94ab48 - Browse repository at this point
Copy the full SHA d94ab48View commit details -
Better error handling with failure::Error
The main returns a Result<(), failure::Error> that wraps all the possible errors from libraries.
Configuration menu - View commit details
-
Copy full SHA for 58c7335 - Browse repository at this point
Copy the full SHA 58c7335View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3596224 - Browse repository at this point
Copy the full SHA 3596224View commit details -
Configuration menu - View commit details
-
Copy full SHA for eb25067 - Browse repository at this point
Copy the full SHA eb25067View commit details
Commits on Jun 13, 2018
-
Cargo_metadata is a crate the expose the cargo-metadata subcommand. Rely on metadata and not on cargo directly reduces considerably both the runtime and compile-time costs. The downside is that cargo_metadata doesn't expose cargo's internal types and metadata. By now is not a blocking issue because the missing informations can be extracted directly from the manifest file. Has been added also another argument to the `build` to specify a manifest path, because of that now cargo-ebuild doesn't rely anymore on a cargo project but only on the manifest. This change removes also some boilerplate code like resolve, workspace, etc. In future work should ported the [package.metadata] field of the `Cargo.toml` to handle cargo-ebuild specific configurations (es KEYWORDS). In future new version of the cargo-metadata format and cargo features should be mapped into cargo_metadata in order to be used.
Configuration menu - View commit details
-
Copy full SHA for 0ef37ce - Browse repository at this point
Copy the full SHA 0ef37ceView commit details -
The simple test solution is on the ebuild generated for cargo-ebuild itself. After editing cargo.toml or `cargo update` is necessary to upadate the test in `test/integration.rs`.
Configuration menu - View commit details
-
Copy full SHA for 96d7e97 - Browse repository at this point
Copy the full SHA 96d7e97View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.