aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar vnugent <public@vaughnnugent.com>2024-07-29 12:26:32 -0400
committerLibravatar vnugent <public@vaughnnugent.com>2024-07-29 12:26:32 -0400
commit52965ce8bb0b06f59b07c7f6b5a9de6bfbc22b40 (patch)
treead9b629e18c32a239cc11a83b86764e54d4bfb56
parente66b75642f654f623a3115bd3586d567d1554726 (diff)
move dev-init to module level for vnbuild module init
-rw-r--r--Module.Taskfile.yaml18
-rw-r--r--Taskfile.yaml11
2 files changed, 15 insertions, 14 deletions
diff --git a/Module.Taskfile.yaml b/Module.Taskfile.yaml
index 8d81b0e..bfc8849 100644
--- a/Module.Taskfile.yaml
+++ b/Module.Taskfile.yaml
@@ -51,10 +51,22 @@ tasks:
clean:
cmds:
#clean solution
- - dotnet clean /p:BuildInParallel=true /p:MultiProcessorCompilation=true
- - cmd: powershell -Command "rm {{ .ARCHIVE_FILE_NAME }} --Force"
- ignore_error: true
+ - dotnet clean /p:BuildInParallel=true /p:MultiProcessorCompilation=true
+ - cmd: powershell -Command "rm {{ .ARCHIVE_FILE_NAME }} --Force"
+ ignore_error: true
+ dev-init:
+ desc: 'Configures the module for local development'
+ cmds:
+ #build native libs for development
+ - cd lib/Utils.Memory/vnlib_rpmalloc && task build
+ - cd lib/Utils.Memory/vnlib_mimalloc && task build
+ - cd lib/Utils.Cryptography/monocypher && task build
+ - cd lib/Utils.Cryptography/argon2 && task build
+ - cd lib/Net.Compression/vnlib_compress && task build
+ - cmd: echo "dev init complete"
+ silent: true
+
#Internal tasks
build_debug:
diff --git a/Taskfile.yaml b/Taskfile.yaml
index 0d73872..4a46d2f 100644
--- a/Taskfile.yaml
+++ b/Taskfile.yaml
@@ -15,17 +15,6 @@ vars:
tasks:
- dev-setup:
- desc: 'Sets up all native libraries for local development'
- cmds:
- #build native libs for development
- - cd lib/Utils.Memory/vnlib_rpmalloc && task build
- - cd lib/Utils.Memory/vnlib_mimalloc && task build
- - cd lib/Utils.Cryptography/monocypher && task build
- - cd lib/Utils.Cryptography/argon2 && task build
- - cd lib/Net.Compression/vnlib_compress && task build
- - echo "dev setup complete"
-
#when build succeeds, archive the output into a tgz
postbuild_success:
dir: '{{.USER_WORKING_DIR}}'