Rename `sh/` folder to `scripts/`
This commit is contained in:
parent
69b568aeb4
commit
03c1a05e49
|
|
@ -6,7 +6,7 @@ Please read the "Making a PR" section of [`CONTRIBUTING.md`](https://github.com/
|
|||
* Unless this is a trivial change, add a line to the relevant `CHANGELOG.md` under "Unreleased".
|
||||
* If it is a non-trivial addition, consider adding a demo for it to `egui_demo_lib`.
|
||||
* Remember to run `cargo fmt` and `cargo clippy`.
|
||||
* Open the PR as a draft until you have self-reviewed it and run `./sh/check.sh`.
|
||||
* Open the PR as a draft until you have self-reviewed it and run `./scripts/check.sh`.
|
||||
* When you have addressed a PR comment, mark it as resolved.
|
||||
|
||||
Please be patient! I will review you PR, but my time is limited!
|
||||
|
|
|
|||
|
|
@ -154,7 +154,7 @@ jobs:
|
|||
with:
|
||||
version: "0.2.84"
|
||||
|
||||
- run: ./sh/wasm_bindgen_check.sh --skip-setup
|
||||
- run: ./scripts/wasm_bindgen_check.sh --skip-setup
|
||||
|
||||
- name: Cranky wasm32
|
||||
uses: actions-rs/cargo@v1
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ First file an issue (or find an existing one) and announce that you plan to work
|
|||
|
||||
Browse through [`ARCHITECTURE.md`](https://github.com/emilk/egui/blob/master/ARCHITECTURE.md) to get a sense of how all pieces connects.
|
||||
|
||||
You can test your code locally by running `./sh/check.sh`.
|
||||
You can test your code locally by running `./scripts/check.sh`.
|
||||
|
||||
When you have something that works, open a draft PR. You may get some helpful feedback early!
|
||||
When you feel the PR is ready to go, do a self-review of the code, and then open it for review.
|
||||
|
|
|
|||
|
|
@ -8,8 +8,8 @@ Run it locally with `cargo run --release -p egui_demo_app`.
|
|||
`egui_demo_app` can be compiled to WASM and viewed in a browser locally with:
|
||||
|
||||
```sh
|
||||
./sh/start_server.sh &
|
||||
./sh/build_demo_web.sh --open
|
||||
./scripts/start_server.sh &
|
||||
./scripts/build_demo_web.sh --open
|
||||
```
|
||||
|
||||
`egui_demo_app` uses [`egui_demo_lib`](https://github.com/emilk/egui/tree/master/crates/egui_demo_lib).
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ while test $# -gt 0; do
|
|||
esac
|
||||
done
|
||||
|
||||
./sh/setup_web.sh
|
||||
./scripts/setup_web.sh
|
||||
|
||||
# This is required to enable the web_sys clipboard API which eframe web uses
|
||||
# https://rustwasm.github.io/wasm-bindgen/api/web_sys/struct.Clipboard.html
|
||||
|
|
@ -51,11 +51,11 @@ cargo doc --document-private-items --no-deps --all-features
|
|||
(cd crates/emath && cargo check --all-features)
|
||||
(cd crates/epaint && cargo check --all-features)
|
||||
|
||||
./sh/wasm_bindgen_check.sh
|
||||
./scripts/wasm_bindgen_check.sh
|
||||
|
||||
cargo cranky --target wasm32-unknown-unknown --all-features -p egui_demo_app --lib -- -D warnings
|
||||
|
||||
./sh/cargo_deny.sh
|
||||
./scripts/cargo_deny.sh
|
||||
|
||||
# TODO(emilk): consider using https://github.com/taiki-e/cargo-hack or https://github.com/frewsxcv/cargo-all-features
|
||||
|
||||
|
|
@ -8,7 +8,7 @@ then
|
|||
echo "Skipping setup_web.sh"
|
||||
else
|
||||
echo "Running setup_web.sh"
|
||||
./sh/setup_web.sh
|
||||
./scripts/setup_web.sh
|
||||
fi
|
||||
|
||||
CRATE_NAME="egui_demo_app"
|
||||
Loading…
Reference in New Issue