-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtaskfile.yml
More file actions
50 lines (40 loc) · 858 Bytes
/
Copy pathtaskfile.yml
File metadata and controls
50 lines (40 loc) · 858 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# yaml-language-server: $schema=https://taskfile.dev/schema.json
version: "3.0"
set: ['e', 'u', 'pipefail']
shopt: ['globstar']
includes:
deno:
taskfile: ./taskfiles/deno.yml
tasks:
default:
desc: "Default task"
cmds:
- task --list
install:
desc: "Install dependencies via Deno"
cmds:
- task: deno:install
dev:
desc: "Run the Astro dev server"
deps: [install]
cmds:
- task: deno:dev
build:
desc: "Build the Astro site for production"
deps: [install]
cmds:
- task: deno:build
preview:
desc: "Preview the production build"
deps: [install]
cmds:
- task: deno:preview
check:
desc: "Type-check with astro check"
deps: [install]
cmds:
- task: deno:check
clean:
desc: "Clean all build artifacts"
cmds:
- task: deno:clean