-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathJustfile
More file actions
44 lines (30 loc) · 574 Bytes
/
Copy pathJustfile
File metadata and controls
44 lines (30 loc) · 574 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Justfile
# https://github.com/casey/just
set dotenv-load
[private]
default:
@just --list
serve:
dx serve
check:
dx check
fmt:
cargo fmt
dx fmt
build:
dx build
release:
dx build --release
clean:
cargo clean
run: build
./target/dx/fluxbb-rs/debug/web/server
run-release: release
./target/dx/fluxbb-rs/release/web/server
db-reset:
psql "$DATABASE_URL" -c "DROP SCHEMA public CASCADE; CREATE SCHEMA public;"
seed:
psql "$DATABASE_URL" -f db/seed.sql
install-cli:
cargo install dioxus-cli
reset: clean db-reset