Skip to content

Commit

Permalink
Add badges and Cargo.toml meta fields (#6)
Browse files Browse the repository at this point in the history
Closes #3
  • Loading branch information
danreeves authored Sep 12, 2018
1 parent 3ed647b commit 1582f1b
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ version = "0.1.0"
authors = ["Dan Reeves <hey@danreev.es>"]
repository = "https://github.com/danreeves/cargo-cmd"
license = "MIT"
license-file = "LICENSE"
readme = "README.md"
categories = ["development-tools::cargo-plugins"]
keywords = ["cargo", "cmd", "scripts", "commands", "npm"]

[dependencies]
toml = "0.4.6"
Expand All @@ -15,3 +19,6 @@ subprocess = "0.1.13"
[package.metadata.commands]
greet = "echo 'Hello, planet!'"
dev = "cargo watch -s 'clear; cargo build && cargo cmd greet'"

[badges]
travis-ci = { repository = "danreeves/cargo-cmd", branch = "master" }
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# cargo-cmd

[![crates.io version][1]][2]
[![build status][3]][4]
[![docs.rs docs][5]][6]
[![license][7]][8]

Like `npm` scripts, but for `cargo`.

## Installation
Expand Down Expand Up @@ -27,3 +32,15 @@ Hello, planet!

## License
[MIT © Dan Reeves](./LICENSE)



[1]: https://img.shields.io/crates/v/cargo-cmd.svg?style=flat-square
[2]: https://crates.io/crates/cargo-cmd
[3]: https://img.shields.io/travis/danreeves/cargo-cmd.svg?style=flat-square
[4]: https://travis-ci.org/danreeves/cargo-cmd
[5]: https://img.shields.io/badge/docs-latest-blue.svg?style=flat-square
[6]: https://docs.rs/cargo-cmd
[7]: https://img.shields.io/crates/l/cargo-cmd.svg?style=flat-square
[8]: ./LICENSE

0 comments on commit 1582f1b

Please sign in to comment.