-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTaskfile.yml
More file actions
69 lines (66 loc) · 1.61 KB
/
Taskfile.yml
File metadata and controls
69 lines (66 loc) · 1.61 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
68
69
---
version: '3'
#TODO(@s0cks): add functionality to run custom dotbot install. see scripts/install-dotbot.sh
tasks:
dotbot:
internal: true
cmds:
- >
dotbot \
-d {{.DOTBOT_DIRECTORY | default "$(pwd)" }} \
-c {{.DOTBOT_MANIFEST | default "$(pwd)/install.yml" }} \
{{.DOTBOT_EXTRAS}}
install:dry-run:
label: " Install (dry-run)"
desc: "Install dotfiles using Dotbot and dry-run mode."
cmds:
- task: dotbot
vars:
DOTBOT_EXTRAS: "--dry-run {{.CLI_ARGS}}"
install:dry-run:only:
cmds:
- task: dotbot
vars:
DOTBOT_EXTRAS: "--dry-run --only {{.CLI_ARGS}}"
install:dry-run:except:
cmds:
- task: dotbot
vars:
DOTBOT_EXTRAS: "--dry-run --except {{.CLI_ARGS}}"
install:verbose:
label: " Install (verbose)"
desc: "Install dotfiles using Dotbot w/ verbose logging"
cmds:
- task: dotbot
vars:
DOTBOT_EXTRAS: "--verbose {{.CLI_ARGS}}"
install:verbose:only:
cmds:
- task: dotbot
vars:
DOTBOT_EXTRAS: "--vebrose --only {{.CLI_ARGS}}"
install:verbose:except:
cmds:
- task: dotbot
vars:
DOTBOT_EXTRAS: "--verbose --except {{.CLI_ARGS}}"
install:
label: " Install"
desc: "Install dotfiles using Dotbot"
cmds:
- task: dotbot
vars:
DOTBOT_EXTRAS: "{{.CLI_ARGS}}"
install:only:
cmds:
- task: dotbot
vars:
DOTBOT_EXTRAS: "--only {{.CLI_ARGS}}"
install:except:
cmds:
- task: dotbot
vars:
DOTBOT_EXTRAS: "--except {{.CLI_ARGS}}"
default:
cmds:
- task: install