From a24e25977e713fbc5a06778ada4c21202209a598 Mon Sep 17 00:00:00 2001 From: Ben Morrison Date: Tue, 26 May 2020 19:03:58 -0400 Subject: updated travis cfg; setup Cargo.toml for crates.io Added pertinent fields to Cargo.toml to publish on crates.io and lib.rs Updated .travis.yml - using bionic for build, tarpaulin binary can now be pulled rather than built in-place. --- .travis.yml | 6 ++++-- Cargo.lock | 2 +- Cargo.toml | 13 +++++++++++-- 3 files changed, 16 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index dd9254b..906f571 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,7 @@ rust: os: - linux -dist: xenial +dist: bionic addons: apt: @@ -21,8 +21,10 @@ addons: - binutils-dev - libiberty-dev +before_script: + - bash <(curl https://raw.githubusercontent.com/xd009642/tarpaulin/master/travis-install.sh) + script: - - cargo install cargo-tarpaulin - cargo build --verbose - cargo tarpaulin --out Xml - bash <(curl -s https://codecov.io/bash) diff --git a/Cargo.lock b/Cargo.lock index 1e72804..97d0953 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -83,7 +83,7 @@ dependencies = [ [[package]] name = "clinte" -version = "0.4.3" +version = "0.4.4" dependencies = [ "chrono 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)", "clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/Cargo.toml b/Cargo.toml index ff581d0..9f1e812 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,10 +1,19 @@ [package] name = "clinte" -version = "0.4.3" +version = "0.4.4" authors = ["Ben Morrison "] edition = "2018" +description = "CLI note posting system for shared UNIX boxes." +repository = "https://github.com/gbmor/clinte" +readme = "README.md" +keywords = ["social", "unix", "notes", "messages"] +categories = ["command-line-utilities"] +license = "ISC" -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +[badges] +travis-ci = { repository = "gbmor/clinte", branch = "master" } +codecov = { repository = "gbmor/clinte", branch = "master", service = "github" } +maintenance = { status = "stable" } [dependencies] chrono = "^0.4" -- cgit 1.4.1-2-gfad0