-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJustfile
More file actions
64 lines (45 loc) · 1.22 KB
/
Justfile
File metadata and controls
64 lines (45 loc) · 1.22 KB
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
53
54
55
56
57
58
59
60
61
62
63
64
set positional-arguments
clean:
rm -rf ./.nx
pnpm nx run-many -t clean
build-all:
pnpm nx run-many -t build
rebuild-all:
just clean
just build-all
build *args='':
npx nx build "@ts-retype/${@}" --verbose
compile *args='':
npx nx compile "@ts-retype/${@}" --verbose
rebuild *args='':
npx nx build "@ts-retype/${@}" --verbose --skipNxCache
dev *args='':
npx nx dev "@ts-retype/${@}"
bin *args='':
npx nx bin "@ts-retype/${@}"
install:
pnpm install
stats-build-all *args='*':
pnpm nx run-many -t stats
stats-build *args='*':
npx nx stats "@ts-retype/${@}" --verbose --skipNxCache
stats-open *args='*':
find . -wholename "*/${@}/dist/stats*.html" | fzf | xargs open
test *args='':
npx nx test "@ts-retype/${@}" --verbose
test-all:
pnpm nx run-many -t test
update:
pnpm -r update
watch-build *args='':
npx nx build:watch "@ts-retype/${@}"
watch-build-bin:
npx nx watch \
--projects=@ts-retype/bin \
--includeDependentProjects \
--verbose -- \
nx build @ts-retype/bin
watch-build-all *args='':
pnpm nx watch --all --verbose -- nx run \$NX_PROJECT_NAME:build
watch-test *args='':
npx nx test:watch "@ts-retype/${@}" --verbose