Skip to content

Commit

Permalink
loco-new cannot be in workspace, cannot release with workspace-relati…
Browse files Browse the repository at this point in the history
…ve include_dir
  • Loading branch information
jondot committed Nov 14, 2024
1 parent 7a74823 commit f8b8087
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[workspace]
members = ["xtask", "loco-gen", "loco-new"]
members = ["xtask", "loco-gen"]
exclude = ["starters"]

[workspace.package]
Expand Down
5 changes: 4 additions & 1 deletion loco-new/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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 <dotan@rng0.io>", "Elad Kaplan <kaplan.elad@gmail.com>"]
include = ["src/**", "base_template/**", "Cargo.toml", "setup.rhai"]

[features]
test-wizard = []
Expand Down
2 changes: 1 addition & 1 deletion loco-new/src/generator/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit f8b8087

Please sign in to comment.