mirror of
https://github.com/storytold/storyteller-bevy.git
synced 2026-10-09 00:09:55 +00:00
89487e5889
Co-authored-by: Danny McGee <dannymcgee@gmail.com>
62 lines
1.3 KiB
JSON
62 lines
1.3 KiB
JSON
{
|
|
"name": "studio",
|
|
"$schema": "../node_modules/nx/schemas/project-schema.json",
|
|
"projectType": "application",
|
|
"sourceRoot": "./studio/src",
|
|
"namedInputs": {
|
|
"assets": ["{projectRoot}/assets/**/*"]
|
|
},
|
|
"targets": {
|
|
"build": {
|
|
"executor": "@nxrs/cargo:build",
|
|
"inputs": ["assets"],
|
|
"options": {
|
|
"release": false
|
|
},
|
|
"configurations": {
|
|
"headless" : {
|
|
"release" : true,
|
|
"bin": "studio-headless"
|
|
},
|
|
"production": {
|
|
"release": true
|
|
}
|
|
}
|
|
},
|
|
"build:web": {
|
|
"executor": "nx:run-commands",
|
|
"inputs": ["assets"],
|
|
"options": {
|
|
"command": "node scripts/build-web.mjs --features=wasm",
|
|
"cwd": "studio"
|
|
}
|
|
},
|
|
"dev": {
|
|
"executor": "@nxrs/cargo:run",
|
|
"options": {
|
|
"profile": "dev-custom",
|
|
"bin": "studio-standalone"
|
|
}
|
|
},
|
|
"headless": {
|
|
"executor": "nx:run-commands",
|
|
"options": {
|
|
"command": "cargo run -p studio --bin studio-headless --"
|
|
}
|
|
},
|
|
"test": {
|
|
"executor": "@nxrs/cargo:test",
|
|
"options": {}
|
|
},
|
|
"lint": {
|
|
"executor": "@nxrs/cargo:clippy",
|
|
"options": {
|
|
"fix": false,
|
|
"failOnWarnings": true,
|
|
"noDeps": true
|
|
}
|
|
}
|
|
},
|
|
"tags": []
|
|
}
|