mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 13:50:04 -04:00
Move all crates into a crates directory (#1940)
This commit is contained in:
@@ -52,7 +52,7 @@ rm -f "docs/${CRATE_NAME}_bg.wasm"
|
||||
echo "Building rust…"
|
||||
BUILD=release
|
||||
|
||||
(cd $CRATE_NAME &&
|
||||
(cd crates/$CRATE_NAME &&
|
||||
cargo build \
|
||||
--release \
|
||||
--lib \
|
||||
|
||||
44
sh/check.sh
44
sh/check.sh
@@ -23,29 +23,29 @@ cargo fmt --all -- --check
|
||||
cargo doc -p eframe -p egui -p egui_demo_lib -p egui_extras -p egui_glium -p egui_glow -p egui-winit -p emath -p epaint --lib --no-deps --all-features
|
||||
cargo doc --document-private-items --no-deps --all-features
|
||||
|
||||
(cd eframe && cargo check --no-default-features --features "glow")
|
||||
(cd eframe && cargo check --no-default-features --features "wgpu")
|
||||
(cd egui && cargo check --no-default-features --features "serde")
|
||||
(cd egui_demo_app && cargo check --no-default-features --features "glow")
|
||||
(cd egui_demo_app && cargo check --no-default-features --features "wgpu")
|
||||
(cd egui_demo_lib && cargo check --no-default-features)
|
||||
(cd egui_extras && cargo check --no-default-features)
|
||||
(cd egui_glium && cargo check --no-default-features)
|
||||
(cd egui_glow && cargo check --no-default-features)
|
||||
(cd egui-winit && cargo check --no-default-features)
|
||||
(cd emath && cargo check --no-default-features)
|
||||
(cd epaint && cargo check --no-default-features --release)
|
||||
(cd epaint && cargo check --no-default-features)
|
||||
(cd crates/eframe && cargo check --no-default-features --features "glow")
|
||||
(cd crates/eframe && cargo check --no-default-features --features "wgpu")
|
||||
(cd crates/egui && cargo check --no-default-features --features "serde")
|
||||
(cd crates/egui_demo_app && cargo check --no-default-features --features "glow")
|
||||
(cd crates/egui_demo_app && cargo check --no-default-features --features "wgpu")
|
||||
(cd crates/egui_demo_lib && cargo check --no-default-features)
|
||||
(cd crates/egui_extras && cargo check --no-default-features)
|
||||
(cd crates/egui_glium && cargo check --no-default-features)
|
||||
(cd crates/egui_glow && cargo check --no-default-features)
|
||||
(cd crates/egui-winit && cargo check --no-default-features)
|
||||
(cd crates/emath && cargo check --no-default-features)
|
||||
(cd crates/epaint && cargo check --no-default-features --release)
|
||||
(cd crates/epaint && cargo check --no-default-features)
|
||||
|
||||
(cd eframe && cargo check --all-features)
|
||||
(cd egui && cargo check --all-features)
|
||||
(cd egui_demo_app && cargo check --all-features)
|
||||
(cd egui_extras && cargo check --all-features)
|
||||
(cd egui_glium && cargo check --all-features)
|
||||
(cd egui_glow && cargo check --all-features)
|
||||
(cd egui-winit && cargo check --all-features)
|
||||
(cd emath && cargo check --all-features)
|
||||
(cd epaint && cargo check --all-features)
|
||||
(cd crates/eframe && cargo check --all-features)
|
||||
(cd crates/egui && cargo check --all-features)
|
||||
(cd crates/egui_demo_app && cargo check --all-features)
|
||||
(cd crates/egui_extras && cargo check --all-features)
|
||||
(cd crates/egui_glium && cargo check --all-features)
|
||||
(cd crates/egui_glow && cargo check --all-features)
|
||||
(cd crates/egui-winit && cargo check --all-features)
|
||||
(cd crates/emath && cargo check --all-features)
|
||||
(cd crates/epaint && cargo check --all-features)
|
||||
|
||||
./sh/wasm_bindgen_check.sh
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ export RUSTFLAGS=--cfg=web_sys_unstable_apis
|
||||
echo "Building rust…"
|
||||
BUILD=debug # debug builds are faster
|
||||
|
||||
(cd $CRATE_NAME &&
|
||||
(cd crates/$CRATE_NAME &&
|
||||
cargo build \
|
||||
--lib \
|
||||
--target wasm32-unknown-unknown \
|
||||
|
||||
Reference in New Issue
Block a user