Skip to content

Instantly share code, notes, and snippets.

@thomastay
Last active July 16, 2021 18:43
Show Gist options
  • Save thomastay/226d3dea33538467069b0035575c8e0e to your computer and use it in GitHub Desktop.
Save thomastay/226d3dea33538467069b0035575c8e0e to your computer and use it in GitHub Desktop.
A scoop app manifest to get the nightly version of Zig
{
"version": "0.8.0-dev.1479-aa1c78056",
"description": "General-purpose programming language designed for robustness, optimality, and maintainability.",
"homepage": "https://ziglang.org/",
"license": "MIT",
"suggest": {
"vcredist": "extras/vcredist2019"
},
"architecture": {
"64bit": {
"url": "https://ziglang.org/builds/zig-windows-x86_64-0.8.0-dev.1479+aa1c78056.zip",
"hash": "5d46efcca7354aa08215abd11d40c74156495a99730e9b7e0acaee15facb4383",
"extract_dir": "zig-windows-x86_64-0.8.0-dev.1479+aa1c78056"
}
},
"bin": "zig.exe",
"checkver": {
"url": "https://ziglang.org/download/index.json",
"jp": "$.master.version",
"regex": "^(?<version>[\\w\\.\\-_]+)\\+(?<commit>[^\\.]+)",
"replace": "${version}-${commit}"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://ziglang.org/builds/zig-windows-x86_64-$matchVersion+$matchCommit.zip",
"extract_dir": "zig-windows-x86_64-$matchVersion+$matchCommit"
}
},
"hash": {
"url": "https://ziglang.org/download/index.json",
"jp": "$.master.x86_64-windows.shasum"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment