init
This commit is contained in:
24
justfile
Normal file
24
justfile
Normal file
@@ -0,0 +1,24 @@
|
||||
_default:
|
||||
@just --unsorted --list
|
||||
|
||||
check:
|
||||
bc-check
|
||||
|
||||
fmt:
|
||||
bc-fmt
|
||||
fd --extension=rs --exec-batch leptosfmt
|
||||
|
||||
serve:
|
||||
RUST_LOG=debug RUST_BACKTRACE=1 cargo leptos watch -- serve
|
||||
|
||||
build-release:
|
||||
rm -rf dist
|
||||
mkdir dist
|
||||
cargo leptos build --release -vv
|
||||
cp target/release/ascend dist/
|
||||
cp -r target/site dist/
|
||||
|
||||
run-release:
|
||||
#!/usr/bin/env bash
|
||||
cd dist
|
||||
LEPTOS_SITE_ROOT="site" LEPTOS_SITE_ADDR="127.0.0.1:1337" ./ascend serve
|
||||
Reference in New Issue
Block a user