diff options
author | notgne2 | 2021-01-08 18:24:04 -0700 |
---|---|---|
committer | notgne2 | 2021-01-08 18:24:04 -0700 |
commit | 70c55363a91572790ba5d49b70c58040f112e55c (patch) | |
tree | 3344ef89b6d33cfd7e831a77941de2d29635919a /src/utils | |
parent | aa42daa8002f17c33a0a56abc110ca1bc14e8cc2 (diff) |
Restructure project
Diffstat (limited to '')
-rw-r--r-- | src/data.rs (renamed from src/utils/data.rs) | 0 | ||||
-rw-r--r-- | src/deploy.rs (renamed from src/utils/deploy.rs) | 0 | ||||
-rw-r--r-- | src/lib.rs (renamed from src/utils/mod.rs) | 12 | ||||
-rw-r--r-- | src/push.rs (renamed from src/utils/push.rs) | 0 |
4 files changed, 5 insertions, 7 deletions
diff --git a/src/utils/data.rs b/src/data.rs index f557e41..f557e41 100644 --- a/src/utils/data.rs +++ b/src/data.rs diff --git a/src/utils/deploy.rs b/src/deploy.rs index 3371160..3371160 100644 --- a/src/utils/deploy.rs +++ b/src/deploy.rs diff --git a/src/utils/mod.rs b/src/lib.rs index bc46f4c..21bfb8c 100644 --- a/src/utils/mod.rs +++ b/src/lib.rs @@ -11,13 +11,11 @@ use thiserror::Error; use flexi_logger::*; -#[macro_export] -macro_rules! good_panic { - ($($tts:tt)*) => {{ - error!($($tts)*); - std::process::exit(1); - }} -} +#[macro_use] +extern crate log; + +#[macro_use] +extern crate serde_derive; pub fn make_lock_path(temp_path: &str, closure: &str) -> String { let lock_hash = diff --git a/src/utils/push.rs b/src/push.rs index 503e062..503e062 100644 --- a/src/utils/push.rs +++ b/src/push.rs |