diff options
author | Melody Horn <melody@boringcactus.com> | 2021-06-28 17:02:45 -0600 |
---|---|---|
committer | Melody Horn <melody@boringcactus.com> | 2021-06-28 17:02:45 -0600 |
commit | 2e3930b4c7c26e91c1341d7d04d33d91758f8009 (patch) | |
tree | eabac3a8e760e2dc91a548b337f5f2ffe51a6285 /src/bin | |
parent | 8852f0b7090c612f1d04a60becb55bbe56441eda (diff) | |
download | tosin-2e3930b4c7c26e91c1341d7d04d33d91758f8009.tar.gz tosin-2e3930b4c7c26e91c1341d7d04d33d91758f8009.zip |
work properly on windows too
Diffstat (limited to 'src/bin')
-rw-r--r-- | src/bin/tosin-admin.rs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/bin/tosin-admin.rs b/src/bin/tosin-admin.rs index 034e4a9..e108207 100644 --- a/src/bin/tosin-admin.rs +++ b/src/bin/tosin-admin.rs @@ -6,8 +6,12 @@ use std::process::Command; use structopt::StructOpt; -const TOSIN_DEPENDENCY: &str = concat!(r#"tosin = { path = ""#, env!("CARGO_MANIFEST_DIR"), r#"" } -diesel = { version = "1.4.4", features = ["sqlite"] }"#); +const TOSIN_DEPENDENCY: &str = concat!( + r#"tosin = { path = '"#, + env!("CARGO_MANIFEST_DIR"), + r#"' } +diesel = { version = "1.4.4", features = ["sqlite"] }"# +); const PROJECT_MAIN: &str = r#" #[macro_use] extern crate diesel; @@ -79,14 +83,10 @@ todo!("write some views"); #[derive(StructOpt, Debug)] enum Opt { /// Start a new project/site (can contain multiple apps) - StartProject { - name: Option<String>, - }, + StartProject { name: Option<String> }, /// Start a new app - StartApp { - name: String, - } + StartApp { name: String }, } fn main() { |