-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.justfile
52 lines (38 loc) · 1.29 KB
/
.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
list:
@just --list
fmt:
deno fmt --config deno.jsonc
fmt-check:
deno fmt --config deno.jsonc --check
lint:
@just fmt
deno lint --config deno.jsonc
lint-check:
@just fmt-check
deno lint --config deno.jsonc
check:
@just lint-check
deno cache --config deno.jsonc --no-check=remote --import-map src/deps/_/solid_jsx-runtime_import_map.json src/*/mod.ts src/*/client-plugin/mod.ts src/playground/main.tsx
check-force:
@just lint-check
deno cache --config deno.jsonc --no-check=remote --import-map src/deps/_/solid_jsx-runtime_import_map.json --reload src/*/mod.ts src/*/client-plugin/mod.ts src/playground/main.tsx
test:
deno test -A --unstable
test-update:
deno test -A --unstable -- --update
run-playground:
deno run -A --unstable --no-check src/playground/devServer.ts
build-escad-run:
PROD=1 just run-playground
mkdir escad.run
cp -r src/playground/static/* escad.run/
mv escad.run/transpiled/https://escad.dev/playground/main.js escad.run/
mv escad.run/transpiled/https://escad.dev/playground/sw.js escad.run/
git rev-parse HEAD > escad.run/version
build-escad-dev:
mkdir escad.dev
cp -r src/* logo examples escad.dev
serve file:
deno run -A --unstable --no-check src/cli/start.ts {{file}}
moderate:
@deno run -A https://deno.land/x/[email protected]/mod.ts