mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-22 19:48:13 +08:00
Replace npm build script with new cargo run tool (#3832)
* move nix flake to root * cargo run tool * use thiserror in third-party-licenses tool * prefere panic over exit * Add automatic dependency check to cargo run tool * Skip dependecies that are not needed for the current task * Fixup * Fixup * fix windows * Fixup * improve usage text * Fix linux bundle * add graphen-cli * fix build profile * fix * release profile should not include debug infos * Review * remove profiling profile was redundent with release * rename to cargo-run tool * improve consistency * rename deps to requirements * fix * return success when showing usage
This commit is contained in:
+2
-5
@@ -23,6 +23,7 @@ members = [
|
||||
"node-graph/node-macro",
|
||||
"node-graph/preprocessor",
|
||||
"proc-macros",
|
||||
"tools/cargo-run",
|
||||
"tools/crate-hierarchy-viz",
|
||||
"tools/third-party-licenses",
|
||||
"tools/editor-message-tree",
|
||||
@@ -35,12 +36,12 @@ default-members = [
|
||||
"libraries/path-bool",
|
||||
"libraries/math-parser",
|
||||
"node-graph/graph-craft",
|
||||
"node-graph/graphene-cli",
|
||||
"node-graph/interpreted-executor",
|
||||
"node-graph/node-macro",
|
||||
"node-graph/preprocessor",
|
||||
# blocked by https://github.com/rust-lang/cargo/issues/16000
|
||||
# "proc-macros",
|
||||
"tools/cargo-run",
|
||||
]
|
||||
resolver = "2"
|
||||
|
||||
@@ -236,10 +237,6 @@ node-macro = { opt-level = 2 }
|
||||
lto = "thin"
|
||||
debug = true
|
||||
|
||||
[profile.profiling]
|
||||
inherits = "release"
|
||||
debug = true
|
||||
|
||||
[patch.crates-io]
|
||||
# Force cargo to use only one version of the dpi crate (vendoring breaks without this)
|
||||
dpi = { git = "https://github.com/rust-windowing/winit.git" }
|
||||
|
||||
Reference in New Issue
Block a user