aboutsummaryrefslogtreecommitdiff
path: root/ci/plugins.taskfile.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'ci/plugins.taskfile.yaml')
-rw-r--r--ci/plugins.taskfile.yaml31
1 files changed, 31 insertions, 0 deletions
diff --git a/ci/plugins.taskfile.yaml b/ci/plugins.taskfile.yaml
index e27a278..3620a4a 100644
--- a/ci/plugins.taskfile.yaml
+++ b/ci/plugins.taskfile.yaml
@@ -18,6 +18,7 @@ tasks:
- task: install-vncache-sessions
- task: install-router
- task: install-users
+ - task: install-argon2-lib
- task: build-cmnext
build-cmnext:
@@ -101,6 +102,36 @@ tasks:
FILE_NAME: "release.tgz"
DIR: './plugins/assets/VNLib.Plugins.Sessions.VNCache'
+ install-argon2-lib:
+ cmds:
+ #install the argon2 binary for Windows
+ - task: install-plugin
+ vars:
+ NAME: 'argon2'
+ PROJECT_NAME: 'phc-winner-argon2'
+ MODULE_NAME: "VNLib.Core"
+ FILE_NAME: "win-x64-release-Argon2.tgz"
+ DIR: './lib/argon2'
+
+ #install the argon2 source code package for Linux and Mac
+ - task: install-plugin
+ vars:
+ NAME: 'argon2'
+ PROJECT_NAME: 'phc-winner-argon2'
+ MODULE_NAME: "VNLib.Core"
+ FILE_NAME: "src.tgz"
+ DIR: './lib/argon2'
+
+ #remove unneeded files
+ - cmd: powershell -Command "rm ./lib/argon2/man -Recurse"
+ ignore_error: true
+ - cmd: powershell -Command "rm ./lib/argon2/latex -Recurse"
+ ignore_error: true
+ - cmd: powershell -Command "rm ./lib/argon2/kats -Recurse"
+ ignore_error: true
+ - cmd: powershell -Command "rm ./lib/argon2/argon2-specs.pdf"
+ ignore_error: true
+
install-plugin:
cmds:
#make the plugin directory