Bootstrap CLI app

This commit is contained in:
Danny McGee
2023-11-14 15:46:10 -05:00
parent 8bf4abc3a4
commit 89a56ac7bf
5 changed files with 174 additions and 1 deletions
+12
View File
@@ -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"]
+36
View File
@@ -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": []
}
+3
View File
@@ -0,0 +1,3 @@
fn main() {
println!("Hello, world!");
}