| Crates.io | cargo-ship |
| lib.rs | cargo-ship |
| version | 0.1.1 |
| created_at | 2015-09-12 03:06:54.71371+00 |
| updated_at | 2015-12-11 23:57:49.028558+00 |
| description | A cargo command to ship a tested release build |
| homepage | |
| repository | https://github.com/chills42/cargo-ship |
| max_upload_size | |
| id | 3034 |
| size | 4,766 |
This cargo plugin provides the ship command, which at this point simply
runs cargo test, cargo build --release, and then copies the target
executable to the ~/.bin/ folder.
The cargo-ship tool is a cargo plugin that provides a simple way to ship a tested release build of a project.
Running this as a plugin using cargo ship is basically the same as doing the following:
cargo test
cargo build --release
cp ./target/release/<target_name> ~/.bin
with <target_name> being the name specified in the project's Cargo.toml file as the release name
The user is expected to have a recognizable home directory.
The user should have a ~/.bin folder that has been added to their PATH environment variable.
Although this is a very simplistic tool, and is really only useful for deploying built executables into a local folder the goal is to provide a more complete deployment tool with configurable targeting. Ideally, I'd like to see: