diff options
Diffstat (limited to 'lib/Net.Compression/vnlib_compress')
-rw-r--r-- | lib/Net.Compression/vnlib_compress/Taskfile.yaml | 27 | ||||
-rw-r--r-- | lib/Net.Compression/vnlib_compress/package.json | 10 |
2 files changed, 37 insertions, 0 deletions
diff --git a/lib/Net.Compression/vnlib_compress/Taskfile.yaml b/lib/Net.Compression/vnlib_compress/Taskfile.yaml new file mode 100644 index 0000000..51aaf79 --- /dev/null +++ b/lib/Net.Compression/vnlib_compress/Taskfile.yaml @@ -0,0 +1,27 @@ +# https://taskfile.dev + +#Called by the vnbuild system to produce builds for my website +#https://www.vaughnnugent.com/resources/software + +#This taskfile is specific to this project, since it must be compiled on the target platform +#this simply packs the source code into a tgz file for download + +version: '3' + +tasks: + + #when build succeeds, archive the output into a tgz + postbuild_success: + cmds: + - cmd: powershell mkdir -Force './bin' + #copy source code to target + - powershell -Command "Get-ChildItem -Include *.c,*.h,*.txt -Path * | Resolve-Path -Relative | tar --files-from - -czf 'bin/src.tgz'" + + postbuild_failed: + cmds: [] + +#Remove the output dirs on clean + clean: + ignore_error: true + cmds: + - cmd: powershell Remove-Item -Recurse './bin' diff --git a/lib/Net.Compression/vnlib_compress/package.json b/lib/Net.Compression/vnlib_compress/package.json new file mode 100644 index 0000000..6373511 --- /dev/null +++ b/lib/Net.Compression/vnlib_compress/package.json @@ -0,0 +1,10 @@ +{ + "name": "vnlib_compress", + "version": "0.1.0", + "author": "Vaughn Nugent", + "description": "A CMake cross platform native data compression library, provides brotli and zlib compressors in a single stream api", + "copyright": "Copyright \u00A9 2023 Vaughn Nugent", + "company": "Vaughn Nugent", + "repository": "https://github.com/VnUgE/VNLib.Core/tree/main/lib/Net.Compression/vnlib_compress", + "output_dir": "bin" +}
\ No newline at end of file |