feat: bootstrap bun toolchain skeleton and smoke test
Co-authored-by: Eriyc <50216491+Eriyc@users.noreply.github.com>
This commit is contained in:
10
tests/toolchain_test/toolchain_version.sh
Executable file
10
tests/toolchain_test/toolchain_version.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
bun_path="$1"
|
||||
version="$(${bun_path} --version)"
|
||||
|
||||
if [[ ! "${version}" =~ ^[0-9]+\.[0-9]+\.[0-9]+ ]]; then
|
||||
echo "Unexpected bun version output: ${version}" >&2
|
||||
exit 1
|
||||
fi
|
||||
Reference in New Issue
Block a user