mirror of
https://github.com/storytold/storyteller-bevy.git
synced 2026-10-18 07:35:19 +00:00
Bootstrap CLI app
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
[package]
|
||||
name = "studio_cli"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
bevy = { workspace = true }
|
||||
studio = { path = "../studio" }
|
||||
|
||||
[dependencies.clap]
|
||||
version = "4.4.8"
|
||||
features = ["derive"]
|
||||
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"name": "studio_cli",
|
||||
"$schema": "../node_modules/nx/schemas/project-schema.json",
|
||||
"projectType": "application",
|
||||
"sourceRoot": "./studio_cli/src",
|
||||
"targets": {
|
||||
"build": {
|
||||
"executor": "@nxrs/cargo:build",
|
||||
"options": {
|
||||
"release": false
|
||||
},
|
||||
"configurations": {
|
||||
"production": {
|
||||
"release": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"start": {
|
||||
"executor": "@nxrs/cargo:run",
|
||||
"options": {}
|
||||
},
|
||||
"test": {
|
||||
"executor": "@nxrs/cargo:test",
|
||||
"options": {}
|
||||
},
|
||||
"lint": {
|
||||
"executor": "@nxrs/cargo:clippy",
|
||||
"options": {
|
||||
"fix": false,
|
||||
"failOnWarnings": true,
|
||||
"noDeps": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"tags": []
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fn main() {
|
||||
println!("Hello, world!");
|
||||
}
|
||||
Reference in New Issue
Block a user