mirror of
https://github.com/FyroxEngine/Fyrox.git
synced 2026-10-11 22:50:08 +00:00
fixed manifest for fyrox-scripts + fyrox-template fixes
This commit is contained in:
@@ -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 = "../" }
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user