Spelling fixes after https://github.com/emilk/eframe_template/pull/69
This commit is contained in:
parent
d12c19da37
commit
08b025b4e4
2
.github/workflows/pages.yml
vendored
2
.github/workflows/pages.yml
vendored
|
@ -27,7 +27,7 @@ jobs:
|
||||||
override: true
|
override: true
|
||||||
- name: Rust Cache # cache the rust build artefacts
|
- name: Rust Cache # cache the rust build artefacts
|
||||||
uses: Swatinem/rust-cache@v1
|
uses: Swatinem/rust-cache@v1
|
||||||
- name: Downlaod and Install Trunk binary
|
- name: Download and install Trunk binary
|
||||||
run: wget -qO- https://github.com/thedodd/trunk/releases/latest/download/trunk-x86_64-unknown-linux-gnu.tar.gz | tar -xzf-
|
run: wget -qO- https://github.com/thedodd/trunk/releases/latest/download/trunk-x86_64-unknown-linux-gnu.tar.gz | tar -xzf-
|
||||||
- name: Build # build
|
- name: Build # build
|
||||||
# "${GITHUB_REPOSITORY#*/}" evaluates into the name of the repository
|
# "${GITHUB_REPOSITORY#*/}" evaluates into the name of the repository
|
||||||
|
|
2
.github/workflows/rust.yml
vendored
2
.github/workflows/rust.yml
vendored
|
@ -99,7 +99,7 @@ jobs:
|
||||||
toolchain: 1.61.0
|
toolchain: 1.61.0
|
||||||
target: wasm32-unknown-unknown
|
target: wasm32-unknown-unknown
|
||||||
override: true
|
override: true
|
||||||
- name: Downlaod and Install Trunk binary
|
- name: Download and install Trunk binary
|
||||||
run: wget -qO- https://github.com/thedodd/trunk/releases/latest/download/trunk-x86_64-unknown-linux-gnu.tar.gz | tar -xzf-
|
run: wget -qO- https://github.com/thedodd/trunk/releases/latest/download/trunk-x86_64-unknown-linux-gnu.tar.gz | tar -xzf-
|
||||||
- name: Build
|
- name: Build
|
||||||
run: ./trunk build
|
run: ./trunk build
|
||||||
|
|
|
@ -61,10 +61,10 @@ We use [Trunk](https://trunkrs.dev/) to build for web target.
|
||||||
1. Just run `trunk build --release`.
|
1. Just run `trunk build --release`.
|
||||||
2. It will generate a `dist` directory as a "static html" website
|
2. It will generate a `dist` directory as a "static html" website
|
||||||
3. Upload the `dist` directory to any of the numerous free hosting websites including [GitHub Pages](https://docs.github.com/en/free-pro-team@latest/github/working-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site).
|
3. Upload the `dist` directory to any of the numerous free hosting websites including [GitHub Pages](https://docs.github.com/en/free-pro-team@latest/github/working-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site).
|
||||||
4. we already provide a workflow that auto-deploys our app to github pages if you enable it.
|
4. we already provide a workflow that auto-deploys our app to GitHub pages if you enable it.
|
||||||
> To enable Github Pages, you need to go to Respository -> Settings -> Pages -> Source -> set to `gh-pages` branch and `/` (root).
|
> To enable Github Pages, you need to go to Repository -> Settings -> Pages -> Source -> set to `gh-pages` branch and `/` (root).
|
||||||
>
|
>
|
||||||
> If `gh-pages` is not availabe in `Source`, just create and push a branch called `gh-pages` and it should be available.
|
> If `gh-pages` is not available in `Source`, just create and push a branch called `gh-pages` and it should be available.
|
||||||
|
|
||||||
You can test the template app at <https://emilk.github.io/eframe_template/>.
|
You can test the template app at <https://emilk.github.io/eframe_template/>.
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"name": "Egui Template PWA",
|
"name": "egui Template PWA",
|
||||||
"short_name": "egui-template-pwa",
|
"short_name": "egui-template-pwa",
|
||||||
"icons": [
|
"icons": [
|
||||||
{
|
{
|
||||||
|
|
1
check.sh
1
check.sh
|
@ -8,3 +8,4 @@ cargo fmt --all -- --check
|
||||||
cargo clippy --workspace --all-targets --all-features -- -D warnings -W clippy::all
|
cargo clippy --workspace --all-targets --all-features -- -D warnings -W clippy::all
|
||||||
cargo test --workspace --all-targets --all-features
|
cargo test --workspace --all-targets --all-features
|
||||||
cargo test --workspace --doc
|
cargo test --workspace --doc
|
||||||
|
trunk build
|
||||||
|
|
|
@ -112,6 +112,7 @@
|
||||||
transform: rotate(360deg);
|
transform: rotate(360deg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue