From b0b37a84e478ada5f87674998b572c33e7b4c93d Mon Sep 17 00:00:00 2001 From: Stephan Dilly Date: Sun, 11 Apr 2021 23:06:39 +0200 Subject: [PATCH] cleanup cargo deplyment --- Cargo.toml | 2 +- README.md | 2 +- assets/demo.gif => demo.gif | Bin src/keys.rs | 6 ++---- ...style_key_config.ron => vim_style_key_config.ron | 0 5 files changed, 4 insertions(+), 6 deletions(-) rename assets/demo.gif => demo.gif (100%) rename assets/vim_style_key_config.ron => vim_style_key_config.ron (100%) diff --git a/Cargo.toml b/Cargo.toml index 16edf6ac..8644cf39 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ version = "0.14.0" authors = ["Stephan Dilly "] description = "blazing fast terminal-ui for git" edition = "2018" -exclude = [".github/*",".vscode/*"] +exclude = [".github/*",".vscode/*","assets/*"] homepage = "https://github.com/extrawurst/gitui" repository = "https://github.com/extrawurst/gitui" readme = "README.md" diff --git a/README.md b/README.md index c99aa49f..66f384b6 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@
Blazing fast terminal client for git written in Rust
-![](assets/demo.gif) +![](demo.gif) # Features diff --git a/assets/demo.gif b/demo.gif similarity index 100% rename from assets/demo.gif rename to demo.gif diff --git a/src/keys.rs b/src/keys.rs index 8fa40b39..a16113db 100644 --- a/src/keys.rs +++ b/src/keys.rs @@ -272,10 +272,8 @@ mod tests { #[test] fn test_load_vim_style_example() { assert_eq!( - KeyConfig::read_file( - "assets/vim_style_key_config.ron".into() - ) - .is_ok(), + KeyConfig::read_file("vim_style_key_config.ron".into()) + .is_ok(), true ); } diff --git a/assets/vim_style_key_config.ron b/vim_style_key_config.ron similarity index 100% rename from assets/vim_style_key_config.ron rename to vim_style_key_config.ron