fixed manifest for fyrox-scripts + fyrox-template fixes

This commit is contained in:
Dmitry Stepanov
2023-10-26 15:48:20 +03:00
parent b84fe45c80
commit 6ad7d6486f
2 changed files with 12 additions and 3 deletions
+11 -2
View File
@@ -1,9 +1,18 @@
[package]
name = "fyrox-scripts"
version = "0.1.0"
authors = ["Dmitry Stepanov <[email protected]>"]
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
license = "MIT"
description = "Standard scripts for the Fyrox engine"
keywords = ["asset", "resource"]
categories = ["game-development"]
include = ["/src/**/*", "/Cargo.toml", "/LICENSE"]
homepage = "https://fyrox.rs"
documentation = "https://docs.rs/fyrox-scripts"
repository = "https://github.com/FyroxEngine/Fyrox"
resolver = "2"
rust-version = "1.56"
[dependencies]
fyrox = { version = "0.32.0", path = "../" }
+1 -1
View File
@@ -56,7 +56,7 @@ enum Commands {
// and to solve this we just hard code these values and pray for the best.
const CURRENT_ENGINE_VERSION: &str = "0.31.0";
const CURRENT_EDITOR_VERSION: &str = "0.18.0";
const CURRENT_SCRIPTS_VERSION: &str = "https://github.com/FyroxEngine/Fyrox"; // TODO: `fyrox-scripts` is unpublished yet.
const CURRENT_SCRIPTS_VERSION: &str = "0.1.0";
fn write_file<P: AsRef<Path>, S: AsRef<str>>(path: P, content: S) {
let mut file = File::create(path.as_ref()).unwrap();