| Write the build in babashka, and pin the babashka 34832a8 nandi 18d ago | 1 | #!/usr/bin/env dotslash |
| 2 | |
| 3 | // babashka, which the scripts here are written in. |
| 4 | // |
| 5 | // A build script wants the things a shell is bad at — reading deps.edn, |
| 6 | // hashing a file set, holding a path in a variable without quoting it three |
| 7 | // times — and Clojure is already the language this repo is written in. Pinned |
| 8 | // like every other tool, so the script a person runs at a terminal is the one |
| 9 | // buck runs in an action. |
| 10 | // |
| 11 | // The static Linux builds, because a build machine's glibc is not ours to |
| 12 | // assume; macOS has no static option and does not need one. |
| 13 | { |
| 14 | "name": "bb", |
| 15 | "platforms": { |
| 16 | "linux-x86_64": { |
| 17 | "size": 26177709, |
| 18 | "hash": "sha256", |
| 19 | "digest": "eb3edd128276f0b6fbdefcb18dc7d42652a95ea409a81b34f08e36b8ac3cbc3c", |
| 20 | "format": "tar.gz", |
| 21 | "path": "bb", |
| 22 | "providers": [ |
| 23 | { |
| 24 | "url": "https://github.com/babashka/babashka/releases/download/v1.13.220/babashka-1.13.220-linux-amd64-static.tar.gz" |
| 25 | } |
| 26 | ] |
| 27 | }, |
| 28 | "linux-aarch64": { |
| 29 | "size": 28271754, |
| 30 | "hash": "sha256", |
| 31 | "digest": "0efd6ef36b93ea2f0ae6ebf9d1bcd1a66167c2f41c17e990659aa067654437e8", |
| 32 | "format": "tar.gz", |
| 33 | "path": "bb", |
| 34 | "providers": [ |
| 35 | { |
| 36 | "url": "https://github.com/babashka/babashka/releases/download/v1.13.220/babashka-1.13.220-linux-aarch64-static.tar.gz" |
| 37 | } |
| 38 | ] |
| 39 | }, |
| 40 | "macos-x86_64": { |
| 41 | "size": 26050398, |
| 42 | "hash": "sha256", |
| 43 | "digest": "ebbfdf159e8d5ee8b7015b15c6558b2039fe76478de893cf317c8c50805340de", |
| 44 | "format": "tar.gz", |
| 45 | "path": "bb", |
| 46 | "providers": [ |
| 47 | { |
| 48 | "url": "https://github.com/babashka/babashka/releases/download/v1.13.220/babashka-1.13.220-macos-amd64.tar.gz" |
| 49 | } |
| 50 | ] |
| 51 | }, |
| 52 | "macos-aarch64": { |
| 53 | "size": 26548984, |
| 54 | "hash": "sha256", |
| 55 | "digest": "f7d18c3ab11bb4ad0e32a45c1ae40ae25911d5fa06ba4ded07cb90b8af158077", |
| 56 | "format": "tar.gz", |
| 57 | "path": "bb", |
| 58 | "providers": [ |
| 59 | { |
| 60 | "url": "https://github.com/babashka/babashka/releases/download/v1.13.220/babashka-1.13.220-macos-aarch64.tar.gz" |
| 61 | } |
| 62 | ] |
| 63 | } |
| 64 | } |
| 65 | } |