blob: 37baf128768f2af43e04359a678ff7273a12051e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# https://taskfile.dev
#Called by the vnbuild system to produce builds for my website
#https://www.vaughnnugent.com/resources/software
version: "3"
tasks:
install:
internal: true
cmds:
#make the plugin directory
- cmd: powershell -Command "mkdir {{.DIR}} -Force"
ignore_error: true
- cmd: powershell -Command "pwd"
- cd {{.DIR}} && powershell "{{.SCRIPT_DIR}}/install.ps1" -BaseUrl {{.BUILDS_URL}} -ModuleName {{.MODULE_NAME}} -ProjectName {{.PROJECT_NAME}} -FileName {{.FILE_NAME}}
- cd {{.DIR}} && tar -xzf {{.FILE_NAME}}
#remove the archive file
- cd {{.DIR}} && powershell -Command "rm {{.FILE_NAME}}"
|