scripts/setup.sh: don't check for zig since it installs zig later (#7870)

* scripts/setup.sh: don't check for zig since it installs zig later

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
Meghan Denny
2023-12-27 15:26:46 -08:00
committed by GitHub
parent 4a66091491
commit 93c081f351
2 changed files with 2 additions and 3 deletions

View File

@@ -32,7 +32,6 @@ for type in CC CXX; do
) || fail "LLVM ${LLVM_VERSION} is required. Detected $type as '$compiler'"
done
has_exec "zig" || fail "'zig' is missing"
has_exec "bun" || fail "you need an existing copy of 'bun' in your path to build bun"
has_exec "cmake" || fail "'cmake' is missing"
has_exec "ninja" || fail "'ninja' is missing"

View File

@@ -5,10 +5,10 @@ import { tempDirWithFiles } from "harness";
it("duplicate dependencies should warn instead of error", () => {
const package_json = JSON.stringify({
devDependencies: {
"empty-package-for-bun-test-runner": "1.0.0"
"empty-package-for-bun-test-runner": "1.0.0",
},
dependencies: {
"empty-package-for-bun-test-runner": "1.0.0"
"empty-package-for-bun-test-runner": "1.0.0",
},
});