forked from shellscape/jsx-email
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmoon.yml
59 lines (51 loc) · 1.08 KB
/
moon.yml
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
# https://moonrepo.dev/docs/config/tasks
$schema: 'https://moonrepo.dev/schemas/tasks.json'
workspace:
inheritedTasks:
exclude: ['build', 'compile', 'test']
tasks:
build:
command: rm -f tsconfig.json
inputs:
- app
- src
deps:
- ~:compile
options:
cache: false
outputStyle: 'stream'
runDepsInParallel: false
build.samples:
command: ts-node scripts/build-samples.ts
deps:
- clean.samples
options:
cache: false
clean.samples:
command: rm -rf ../../apps/web/src/public/samples/assets
options:
cache: false
compile:
command: echo "Compile compelete"
inputs:
- app
- src
deps:
- ~:tsconfig.link
- ~:tsc
- ~:copy
options:
runDepsInParallel: false
copy:
command: cp -r src/assets dist/src && cp -r app dist
options:
cache: false
start.preview:
command: ts-node --swc --project ../../tsconfig.json scripts/test.ts
options:
cache: false
tsc:
command: tsc --project tsconfig.json
inputs:
- app
- src