aboutsummaryrefslogtreecommitdiff
path: root/Taskfile.yaml
diff options
context:
space:
mode:
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