-
Notifications
You must be signed in to change notification settings - Fork 0
/
justfile
32 lines (25 loc) · 860 Bytes
/
justfile
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
_list:
@just --list
# Stage all the current files in git, then run Filigree
build-with-backup:
git add .
@just build-test-apps
build-test-apps *FLAGS:
cd filigree-cli && cargo lbuild
just build-test-app sveltekit
just build-test-app htmx
just build-test-app custom_auth_string_ids
build-test-app DIR *FLAGS:
@just write-files {{DIR}} {{FLAGS}}
cd test-apps/{{DIR}} && cargo lcheck
write-files DIR *FLAGS:
cd filigree-cli && cargo lbuild
cd test-apps/{{DIR}} && ../../target/debug/filigree write {{FLAGS}}
build-and-test DIR *FLAGS:
@just build-test-app {{DIR}}
cd test-apps/{{DIR}} && cargo ltest {{FLAGS}}
build-test-app-and-db DIR *FLAGS:
cd filigree-cli && cargo lbuild
cd test-apps/{{DIR}} && ../../target/debug/filigree write --overwrite && (yes | sqlx database reset) && cargo ltest {{FLAGS}}
build-web-types:
true