Browse Source

Add no-color compiler feature

timvisee 7 years ago
parent
commit
affa6e65d2
2 changed files with 2 additions and 0 deletions
  1. 1 0
      .travis.yml
  2. 1 0
      cli/Cargo.toml

+ 1 - 0
.travis.yml

@@ -15,5 +15,6 @@ addons:
 script:
 - cargo build --verbose --all
 - cargo build --no-default-features --verbose --all
+- cargo build --features no-color --verbose --all
 - cargo test --verbose --all
 - cargo doc

+ 1 - 0
cli/Cargo.toml

@@ -10,6 +10,7 @@ name = "ffsend"
 
 [features]
 default = ["clipboard"]
+no-color = ["colored/no-color"]
 
 [dependencies]
 clap = "2.31"