aboutsummaryrefslogtreecommitdiff
path: root/ci/install.taskfile.yaml
blob: 898958b88ce34f9420fe196508fbc8af9a020b49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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
    - cd {{.DIR}} && powershell "{{ .PROJECT_DIR }}/install.ps1" -BaseUrl {{.BUILDS_URL}} -ModuleName {{.MODULE_NAME}} -ProjectName {{.PROJECT_NAME}} -FileName {{.FILE_NAME}} -Version {{.VERSION}}
    - cd {{.DIR}} && tar -xzf {{.FILE_NAME}}
    #remove the archive file
    - cd {{.DIR}} && powershell -Command "rm {{.FILE_NAME}}"