Created
April 28, 2022 19:47
-
-
Save benmoss/4ba5d7d85417bd17c15a868fe104a5f0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#os: "linux" | |
_os: ["linux"] | |
#arch: "amd64" | "arm64" | |
_arch: ["arm64", "amd64"] | |
#Package: { | |
name: string | |
version: string | |
for os in _os { | |
for arch in _arch { | |
"\(os)": "\(arch)": #Artifact | |
} | |
} | |
} | |
#Artifact: { | |
url: string | |
checksum: string | |
} | |
cue: #Package & { | |
name: "cue" | |
version: "0.4.3" | |
linux: arm64: checksum: "a8c3f4140d18c324cc69f5de4df0566e529e1636cff340095a42475799bf3fed" | |
linux: amd64: checksum: "5e7ecb614b5926acfc36eb1258800391ab7c6e6e026fa7cacbfe92006bac895c" | |
linux: arm64: url: "https://github.com/cue-lang/cue/releases/download/\(version)/cue_\(version)_linux_arm64.tar.gz" | |
linux: amd64: url: "https://github.com/cue-lang/cue/releases/download/\(version)/cue_\(version)_linux_amd64.tar.gz" | |
} | |
golang: #Package & { | |
name: "go" | |
version: "1.18.1" | |
linux: arm64: checksum: "a8c3f4140d18c324cc69f5de4df0566e529e1636cff340095a42475799bf3fed" | |
linux: amd64: checksum: "b3b815f47ababac13810fc6021eb73d65478e0b2db4b09d348eefad9581a2334" | |
linux: arm64: url: "https://go.dev/dl/go\(version).linux-amd64.tar.gz" | |
linux: amd64: url: "https://go.dev/dl/go\(version).linux-arm64.tar.gz" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment