mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2025-01-08 07:27:44 +03:00
14 lines
354 B
Bash
Executable File
14 lines
354 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
if ! test -d buck-out; then
|
|
mkdir buck-out
|
|
fi
|
|
|
|
if ! test -f buck-out/buck2; then
|
|
# TODO: adjust download location for different os/arch combinations
|
|
curl -L https://github.com/facebook/buck2/releases/download/latest/buck2-aarch64-apple-darwin.zst | zstd -d > buck-out/buck2
|
|
chmod +x buck-out/buck2
|
|
fi
|
|
|
|
exec buck-out/buck2 $@
|