Skip to content

Commit

Permalink
add justfile
Browse files Browse the repository at this point in the history
  • Loading branch information
DougAnderson444 committed Jan 18, 2024
1 parent 74bdf33 commit 7b8fef2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
build:
cargo component build --workspace
cargo component build --workspace --release

compose: build
wasm-tools compose --config examples/crates/aggregate-wit-ui/config.yml -o examples/aggregate.wasm target/wasm32-wasi/release/aggregate_wit_ui.wasm

preview: compose
cd examples/sveltekit && npm run build && npm run preview -- --open

0 comments on commit 7b8fef2

Please sign in to comment.