summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.travis.yml2
-rw-r--r--Cargo.toml4
2 files changed, 4 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 4479dd36..c983eb21 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -17,7 +17,7 @@ DEPLOY_TO_GITHUB: &DEPLOY_TO_GITHUB
- git config --local user.email "clementjhtsang@gmail.com"
- name="bottom-$TRAVIS_TAG-$TARGET"
- mkdir $name
- - cp target/$TARGET/release/bottom $name/
+ - cp target/$TARGET/release/btm $name/
- cp README.md LICENSE-MIT LICENSE-APACHE $name/
- tar czvf $name.tar.gz $name
deploy:
diff --git a/Cargo.toml b/Cargo.toml
index 6f0d2c6a..cd844b8c 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -10,7 +10,9 @@ categories = ["command-line-utilities"]
description = "A graphical top clone."
readme = "README.md"
-# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
+[[bin]]
+name = "btm"
+path = "src/main.rs"
[dependencies]
chrono = "0.4.9"