-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTaskfile.yml
More file actions
49 lines (40 loc) · 1.04 KB
/
Taskfile.yml
File metadata and controls
49 lines (40 loc) · 1.04 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
version: '3'
# Web — Almena Network landing/marketing site (Astro)
# Run: task (lists options) or task <name>
vars:
PKG_MGR: pnpm
tasks:
default:
desc: List available tasks
cmds:
- task --list
install:
desc: Install dependencies
cmds:
- echo "Installing web dependencies (pnpm)..."
- "{{.PKG_MGR}} install"
build:
desc: Build static site
cmds:
- echo "Building web static site (Astro)..."
- "{{.PKG_MGR}} run build"
dev:
desc: Run dev server with hot reload
cmds:
- echo "Starting web dev server with hot reload..."
- "{{.PKG_MGR}} run dev"
preview:
desc: Serve built site locally
cmds:
- echo "Previewing built web site locally..."
- "{{.PKG_MGR}} run preview"
serve:
desc: Serve built site (run build first if needed)
cmds:
- echo "Serving built web site locally..."
- "{{.PKG_MGR}} run preview"
clean:
desc: Remove build artifacts (dist)
cmds:
- echo "Removing web build artifacts (dist)..."
- rm -rf dist