Skip to content

Commit

Permalink
ABCs
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlion committed Nov 22, 2024
1 parent 7223ea5 commit f4324e5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions taskfiles/utils.yml
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ tasks:
vars:
OUTPUT_FILE: "{{default (base .URL) .OUTPUT_FILE}}"
requires:
vars: ["URL", "FILE_SHA256"]
vars: ["FILE_SHA256", "URL"]
generates: ["{{.OUTPUT_FILE}}"]
status:
- >-
Expand Down Expand Up @@ -258,23 +258,23 @@ tasks:
vars:
CHECKSUM_FILE: >-
{{default (printf "%s.md5" .OUTPUT_DIR) .CHECKSUM_FILE}}
EXCLUDE_PATTERNS:
ref: "default (list) .EXCLUDE_PATTERNS"
DATA_PATTERNS:
ref: "default (list) .DATA_PATTERNS"
EXCLUDE_PATTERNS:
ref: "default (list) .EXCLUDE_PATTERNS"
NUM_COMPONENTS_TO_STRIP: "{{default 1 .NUM_COMPONENTS_TO_STRIP}}"
TAR_FILE: >-
{{default (printf "%s.tar.gz" .OUTPUT_DIR) .TAR_FILE}}
requires:
vars: ["OUTPUT_DIR", "URL", "FILE_SHA256"]
vars: ["FILE_SHA256", "OUTPUT_DIR", "URL"]
sources: ["{{.TASKFILE}}"]
generates: ["{{.CHECKSUM_FILE}}", "{{.TAR_FILE}}"]
deps:
- task: "curl"
vars:
URL: "{{.URL}}"
FILE_SHA256: "{{.FILE_SHA256}}"
OUTPUT_FILE: "{{.TAR_FILE}}"
URL: "{{.URL}}"
- task: "validate-checksum"
vars:
CHECKSUM_FILE: "{{.CHECKSUM_FILE}}"
Expand Down

0 comments on commit f4324e5

Please sign in to comment.