-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTaskfile.yml
More file actions
35 lines (29 loc) · 1006 Bytes
/
Taskfile.yml
File metadata and controls
35 lines (29 loc) · 1006 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
# https://taskfile.dev
version: '3'
env:
LOGLEVEL: debug
tasks:
default:
cmds:
- go build .
test-mir:
cmds:
- defer: rm -r x:/temp/rcp_tempp*
- ./rbcp.exe d:/downloads/rbcp_payload/ x:/temp/rcp_tempp_%random%/ --mir
test:
cmds:
# globs/braces need to be quoted because task itself uses mvdan/sh to interpret the bash syntax
- defer: rm -r x:/temp/rcp_tempp_single/
- ./rbcp.exe readme.md snippets.md x:/temp/rcp_tempp_single/
- ./rbcp.exe d:/downloads/rbcp_payload/robocopy.help x:/temp/rcp_tempp_single/
- ./rbcp.exe 'd:/downloads/rbcp_payload/log_{1,2}.txt' x:/temp/rcp_tempp_single/
- ./rbcp.exe 'd:/downloads/rbcp_payload/log_*.txt' x:/temp/rcp_tempp_single/
- ./rbcp.exe 'd:/downloads/rbcp_payload/{readme.md,robocopy.help}' x:/temp/rcp_tempp_single/
vhs:
env:
LOGLEVEL:
dir: demo
cmds:
- cp ../rbcp.exe .
- vhs demo.tape
- cp demo_latest.gif demo_"{{ now | unixEpoch }}".gif