diff --git a/Cargo.toml b/Cargo.toml index ab93f5e5c..d82f520d1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [workspace] -members = ["xtask", "loco-gen", "loco-new"] +members = ["xtask", "loco-gen"] exclude = ["starters"] [workspace.package] diff --git a/loco-new/Cargo.toml b/loco-new/Cargo.toml index f2f71e97c..695348f17 100644 --- a/loco-new/Cargo.toml +++ b/loco-new/Cargo.toml @@ -1,12 +1,15 @@ +[workspace] + [package] name = "loco" -version = "0.2.10" +version = "0.13.0" edition = "2021" description = "Loco new app generator" license = "Apache-2.0" homepage = "https://docs.rs/loco" documentation = "https://docs.rs/loco" authors = ["Dotan Nahum ", "Elad Kaplan "] +include = ["src/**", "base_template/**", "Cargo.toml", "setup.rhai"] [features] test-wizard = [] diff --git a/loco-new/src/generator/mod.rs b/loco-new/src/generator/mod.rs index 3fde04784..e6d88085a 100644 --- a/loco-new/src/generator/mod.rs +++ b/loco-new/src/generator/mod.rs @@ -11,7 +11,7 @@ use rhai::{Engine, Scope}; use crate::settings; -static APP_TEMPLATE: Dir<'_> = include_dir!("loco-new/base_template"); +static APP_TEMPLATE: Dir<'_> = include_dir!("base_template"); /// Extracts a default template to a temporary directory for use by the /// application.