Skip to content

Commit

Permalink
improve
Browse files Browse the repository at this point in the history
  • Loading branch information
hitchhooker committed Sep 20, 2023
1 parent 787155a commit e5ad34a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ jobs:
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}

- name: Install cargo-generate
run: cargo generate --version || cargo install cargo-generate

- name: Install trunk
run: trunk --version || cargo install trunk

- name: Install minimal nightly with clippy and rustfmt
uses: actions-rs/toolchain@v1
with:
Expand All @@ -45,11 +51,8 @@ jobs:
- name: Add wasm target
run: rustup target add wasm32-unknown-unknown

- name: Install cargo-generate
run: cargo generate --version || cargo install cargo-generate

- name: Install trunk
run: trunk --version || cargo install trunk
- name: list source
run: ls src/

- name: Build Rust project with trunk
run: trunk build
Expand Down
2 changes: 0 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,11 @@ polkavm = "0.1.1"
js-sys = "0.3.64"
web-sys = { version = "0.3.64", features = ["HtmlInputElement", "DataTransfer", "DragEvent", "File", "FileList", "FileReader", "ProgressEvent"] }


# dependecies for client (enable when csr or hydrate set)
wasm-bindgen = { version = "0.2" }
log = "0.4.17"
console_log = { version = "1"}
console_error_panic_hook = { version = "0.1"}


[workspace.metadata.leptos]
name = "polkarun"

0 comments on commit e5ad34a

Please sign in to comment.