代码拉取完成,页面将自动刷新
{
"scripts": {
"ensure-tooling": "node repo_scripts/tooling.js",
"build-browser": "cd cb_browser_ui && npm install && npm run build",
"watch-browser": "cd cb_browser_ui && npm install && npm start",
"build-server": "git describe > .version && npm run ensure-tooling -- -q && RUSTC_WRAPPER=sccache cargo build --release",
"build-server-bundle": "git describe > .version && npm run ensure-tooling -- -q && cargo build --release --features embed_assets",
"build": "echo 'BUILDING SERVER' && npm run build-server && echo 'BUILDING BROWSER UI' && npm run build-browser",
"start": "npm run build-server && echo 'RUNNING' && target/release/citybound",
"lint-clippy-server": "echo 'CHECKING BEST PRACTISES (cb_simulation)' && touch cb_simulation/src/lib.rs && cargo clippy",
"lint-clippy-browser": "echo 'CHECKING BEST PRACTISES (cb_browser_ui) -- IGNORE js_export RELATED ERRORS' && touch cb_browser_ui/src/lib.rs && cd cb_browser_ui && (cargo clippy || true) && cd ..",
"lint-clippy": "npm run lint-clippy-server && npm run lint-clippy-browser",
"lint-fmt": "echo 'CHECKING/FIXING FORMATTING' && cargo fmt -- ./cb_browser_ui/src/lib.rs ./cb_planning/src/lib.rs ./cb_server/main.rs ./cb_simulation/src/lib.rs ./cb_time/src/lib.rs ./cb_util/src/lib.rs",
"lint-fmt-check": "echo 'CHECKING FORMATTING' && cargo fmt -- ./cb_browser_ui/src/lib.rs ./cb_planning/src/lib.rs ./cb_server/main.rs ./cb_simulation/src/lib.rs ./cb_time/src/lib.rs ./cb_util/src/lib.rs --check",
"lint": "npm run lint-clippy && npm run lint-fmt",
"lint-check": "npm run lint-clippy && npm run lint-fmt-check",
"clean-codegen": "find . -name 'kay_auto.rs' -delete"
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。