aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index a604d15..b38ee19 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -307,7 +307,7 @@ fn create_project(name: &str) -> Result<()> {
println!("🌴 Created project {}", name.bright_yellow());
println!(
- "🛠️ To start a development server, change to the {} directory and run {}.",
+ "🛠️ To start a development server, change to the {} directory and run {}.",
name.bright_yellow(),
"reluax dev".bright_green()
);
@@ -330,7 +330,7 @@ fn init_project() -> Result<()> {
println!("🌴 Initialized project {}", name.bright_yellow());
println!(
- "🛠️ To start a development server, run {}.",
+ "🛠️ To start a development server, run {}.",
"reluax dev".bright_green()
);
@@ -352,6 +352,9 @@ fn write_templates(name: &str) -> Result<()> {
.as_bytes(),
)?;
+ let mut file = std::fs::File::create("style.css")?;
+ file.write_all(include_str!("../templates/style.css").as_bytes())?;
+
Ok(())
}