-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmise.toml
More file actions
27 lines (22 loc) · 863 Bytes
/
mise.toml
File metadata and controls
27 lines (22 loc) · 863 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
[tools]
deno = "latest"
hk = "latest"
[tasks.build]
description = 'Build generated code'
depends = ['build-css', 'build-shared', 'download-assets']
[tasks.build-css]
description = "Build CSS from styles directory. Optionally compress with `--minify`"
run = "deno run --allow-read --allow-write ./scripts/build-css.ts"
sources = ["styles/**/*.css"]
[tasks.build-shared]
description = "Transpile shared server code to JS for client"
run ="deno run --allow-read --allow-write --allow-env --allow-net ./scripts/build-shared.ts"
sources = ["shared/*.ts"]
[tasks.download-assets]
description = "Download production assets"
run = "./scripts/download-assets.sh"
[tasks.dev]
description = "Watch for changes and refresh the local server"
# depends = ['build'] # PLANNED: Support `[dev] {..}` with tail-jsonl
run = "deno task dev"
sources = ["src/templates/**/*.vto"]