[package] name = "cargo-cmd" description = "Alias any shell command in your Cargo.toml. It's like npm scripts, but for cargo." version = "0.3.1" authors = ["Dan Reeves "] repository = "https://github.com/danreeves/cargo-cmd" license = "MIT" readme = "README.md" categories = ["development-tools::cargo-plugins"] keywords = ["cargo", "cmd", "scripts", "commands", "npm"] [package.metadata.commands] echo = "echo" greet = "cargo cmd echo 'Hello, planet!'" dev = "cargo watch -s 'clear; cargo build && cargo cmd greet'" pass = "exit 0" fail = "exit 42" prechain = "echo 1" chain = "echo 2" postchain = "echo 3" prefailchain = "exit 42" failchain = "echo 2" pretest = "echo pre" test = "cargo test" posttest = "echo post" [dependencies] toml = "0.5.0" serde = { version = "1.0.104", features = ["derive"] } subprocess = "0.2.4" structopt = "0.3.11" clap = "2.33.0" [dev-dependencies] assert_cli = "0.6.3" [target.'cfg(windows)'.dependencies] winapi = { version = "0.3.8", features = ["handleapi", "namedpipeapi", "processenv", "synchapi", "winerror"] } [badges] travis-ci = { repository = "danreeves/cargo-cmd", branch = "master" }