aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-07-11 08:45:44 -0700
committerGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-07-11 08:45:44 -0700
commit2b709315e3e528944d07499732db656ce6fae86b (patch)
tree093c3347f43ab3ebf6f3616eee876dd637d0e9bb
parenta7adf3d36955a45357803b60f65f2693768f10e2 (diff)
downloadbun-2b709315e3e528944d07499732db656ce6fae86b.tar.gz
bun-2b709315e3e528944d07499732db656ce6fae86b.tar.zst
bun-2b709315e3e528944d07499732db656ce6fae86b.zip
[integration test scripts] `bun` -> `bun dev`
-rw-r--r--test/apps/bun-create-react.sh2
-rw-r--r--test/apps/bun-dev-index-html.sh2
-rw-r--r--test/apps/bun-dev.sh4
3 files changed, 4 insertions, 4 deletions
diff --git a/test/apps/bun-create-react.sh b/test/apps/bun-create-react.sh
index 40055196b..564a59d35 100644
--- a/test/apps/bun-create-react.sh
+++ b/test/apps/bun-create-react.sh
@@ -13,7 +13,7 @@ if (($?)); then
fi
cd /tmp/react-app
-BUN_CRASH_WITHOUT_JIT=1 $BUN_BIN --port 8087 &
+BUN_CRASH_WITHOUT_JIT=1 $BUN_BIN dev --port 8087 &
sleep 0.005
curl --fail http://localhost:8087/ && curl --fail http://localhost:8087/src/index.jsx && killall -9 $(basename $BUN_BIN) && echo "✅ bun create react passed."
diff --git a/test/apps/bun-dev-index-html.sh b/test/apps/bun-dev-index-html.sh
index f34bf11a2..14db88113 100644
--- a/test/apps/bun-dev-index-html.sh
+++ b/test/apps/bun-dev-index-html.sh
@@ -21,7 +21,7 @@ echo $static_content >"$dir/static.txt"
echo $css_not_transpiled_content >"$dir/css_not_transpiled_content.css"
cd $dir
-$BUN_BIN --port 8087 &
+$BUN_BIN dev --port 8087 &
sleep 0.005
if [[ "$(curl --fail -sS http://localhost:8087/)" != "$index_content" ]]; then
diff --git a/test/apps/bun-dev.sh b/test/apps/bun-dev.sh
index be1902965..fd2447e93 100644
--- a/test/apps/bun-dev.sh
+++ b/test/apps/bun-dev.sh
@@ -1,4 +1,4 @@
-#!/usr/bin/env bash
+#!/bin/bash
set -euo pipefail
@@ -18,7 +18,7 @@ echo $bacon_content >"$dir/public/bacon.html"
cd $dir
-$BUN_BIN --port 8087 &
+$BUN_BIN dev --port 8087 &
sleep 0.005
if [ "$(curl --fail -sS http://localhost:8087/)" != "$index_content" ]; then