aboutsummaryrefslogtreecommitdiff
path: root/Taskfile.yaml
diff options
context:
space:
mode:
authorLibravatar vnugent <public@vaughnnugent.com>2024-05-26 17:39:40 -0400
committerLibravatar vnugent <public@vaughnnugent.com>2024-05-26 17:39:40 -0400
commita8a6efb2319f739e5faae550561dc27d9dd1e88d (patch)
treefb24ccfb03e5eb57861182f89794992cfe02bb6e /Taskfile.yaml
parent72e1b7be4031e2fd4d258fcf434ad049c0029201 (diff)
chore: Update libs, reorder files, internalize private headers
Diffstat (limited to 'Taskfile.yaml')
-rw-r--r--Taskfile.yaml17
1 files changed, 16 insertions, 1 deletions
diff --git a/Taskfile.yaml b/Taskfile.yaml
index a917f1c..eb16de0 100644
--- a/Taskfile.yaml
+++ b/Taskfile.yaml
@@ -178,4 +178,19 @@ tasks:
- git clone --branch {{ .OPENSSL_GIT_BRANCH }} {{ .OPENSSL_GIT_URL }} '{{ .TMP_DIR }}'
- for: [ 'include/openssl' ]
- cmd: powershell cp -Recurse -Force '{{ .TMP_DIR }}/{{ .ITEM }}' '{{.OPENSSL_DIR}}/include/' \ No newline at end of file
+ cmd: powershell cp -Recurse -Force '{{ .TMP_DIR }}/{{ .ITEM }}' '{{.OPENSSL_DIR}}/include/'
+
+ dev-set-secp256-headers:
+ vars:
+ SECP256_GIT_URL: 'https://github.com/bitcoin-core/secp256k1'
+ SECP256_GIT_BRANCH: 'v0.5.0'
+ SECP256_DIR: 'vendor/secp256k1'
+ TMP_DIR: '.update/openssl'
+ cmds:
+ - cmd: powershell mkdir '{{.TMP_DIR}}' -Force
+ ignore_error: true
+
+ - git clone --branch {{ .SECP256_GIT_BRANCH }} {{ .SECP256_GIT_URL }} '{{ .TMP_DIR }}'
+
+ - for: [ 'include/*' ]
+ cmd: powershell cp -Recurse -Force '{{ .TMP_DIR }}/{{ .ITEM }}' '{{.SECP256_DIR}}/include/secp256k1/' \ No newline at end of file