diff options
author | vnugent <public@vaughnnugent.com> | 2023-12-22 02:08:15 -0500 |
---|---|---|
committer | vnugent <public@vaughnnugent.com> | 2023-12-22 02:08:15 -0500 |
commit | 009dfe78b3f645b30656b1dac5b9b30cb32bcea2 (patch) | |
tree | be90916d95ec9fe7dfdd66c24ef889f97af97a28 /ci/plugins.taskfile.yaml | |
parent | ad28175287c1a5df9b715c0755ed040985314960 (diff) |
add argon2 lib to package
Diffstat (limited to 'ci/plugins.taskfile.yaml')
-rw-r--r-- | ci/plugins.taskfile.yaml | 31 |
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 |