Skip to content

Commit

Permalink
Removing pmrapp_client and pmrapp_server
Browse files Browse the repository at this point in the history
- Thanks `sauron`, and long live `leptos`.
  • Loading branch information
metatoaster committed Aug 9, 2024
1 parent a4ecba3 commit 5975ed2
Show file tree
Hide file tree
Showing 22 changed files with 21 additions and 1,422 deletions.
29 changes: 21 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- "main"
- "testing"
pull_request:
branches:
- "main"
Expand All @@ -16,14 +17,26 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install wasm-pack
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
- name: Build
run: |
cargo build
wasm-pack build pmrapp_client --target web
cargo build --bin pmrapp_server --package pmrapp_server

- name: Add wasm32-unknown-unknown
run: rustup target add wasm32-unknown-unknown

- name: Install binstall
uses: cargo-bins/cargo-binstall@main

- name: Install wasm-bindgen
run: cargo binstall wasm-bindgen-cli --no-confirm

- name: Install cargo-leptos
run: cargo binstall cargo-leptos --no-confirm

- name: Build core
run: cargo build

- name: Build app
run: cargo leptos build

- name: Run tests
run: |
cargo test --all-features
cargo test --package pmrapp_server --package pmrapp_client
cargo test --package pmrapp
4 changes: 0 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
[workspace]
members = [
"pmrapp",
"pmrapp_client",
"pmrapp_server",
"pmrctrl",
"pmrcore",
"pmrmodel",
Expand All @@ -22,8 +20,6 @@ resolver = "2"

[patch.crates-io]
pmrapp = { path = "./pmrapp" }
pmrapp_client = { path = "./pmrapp_client" }
pmrapp_server = { path = "./pmrapp_server" }
pmrctrl = { path = "./pmrctrl" }
pmrmodel = { path = "./pmrmodel" }
pmrcore = { path = "./pmrcore" }
Expand Down
8 changes: 0 additions & 8 deletions pmrapp.sh

This file was deleted.

33 changes: 0 additions & 33 deletions pmrapp_client/Cargo.toml

This file was deleted.

1 change: 0 additions & 1 deletion pmrapp_client/LICENSE

This file was deleted.

29 changes: 0 additions & 29 deletions pmrapp_client/README.md

This file was deleted.

34 changes: 0 additions & 34 deletions pmrapp_client/src/api.rs

This file was deleted.

Loading

0 comments on commit 5975ed2

Please sign in to comment.