-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample_index_taskfile.yml
More file actions
67 lines (58 loc) · 1.28 KB
/
example_index_taskfile.yml
File metadata and controls
67 lines (58 loc) · 1.28 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
65
66
67
version: '3'
banner: true
categories: ["build", "test", "deploy"]
tasks:
# Build tasks - ordered by index
build:deps:
category: build
index: 1
desc: Install build dependencies
cmds:
- echo "Installing dependencies..."
build:compile:
category: build
index: 2
desc: Compile the application
cmds:
- echo "Compiling..."
build:package:
category: build
index: 3
desc: Package the application
cmds:
- echo "Packaging..."
# Test tasks - ordered by index
test:unit:
category: test
index: 1
desc: Run unit tests
cmds:
- echo "Running unit tests..."
test:integration:
category: test
index: 2
desc: Run integration tests
cmds:
- echo "Running integration tests..."
# Deploy tasks - ordered by index
deploy:staging:
category: deploy
index: 1
desc: Deploy to staging
cmds:
- echo "Deploying to staging..."
deploy:production:
category: deploy
index: 2
desc: Deploy to production
cmds:
- echo "Deploying to production..."
# General tasks (no category) - appear first, ordered by YAML position
clean:
desc: Clean build artifacts
cmds:
- echo "Cleaning..."
help:
desc: Show help
cmds:
- echo "Showing help..."