From 0092de271b2f16982f1d6d1fd4b9f771a4c571d1 Mon Sep 17 00:00:00 2001 From: Brooks J Rady Date: Tue, 16 Feb 2021 20:30:16 +0000 Subject: [PATCH] Fix a silly bug in the build! --- build.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/build.rs b/build.rs index 7d78a7f2..05cbe8d4 100644 --- a/build.rs +++ b/build.rs @@ -26,10 +26,7 @@ fn main() { // Clear Default Plugins and Layouts for entry in WalkDir::new("assets/") { let entry = entry.unwrap(); - let ext = entry.path().extension(); - if ext.is_some() && ext.unwrap() == "rs" { - println!("cargo:rerun-if-changed={}", entry.path().to_string_lossy()); - } + println!("cargo:rerun-if-changed={}", entry.path().to_string_lossy()); } let project_dirs = ProjectDirs::from("org", "Zellij Contributors", "Zellij").unwrap();