diff options
Diffstat (limited to 'integration/apps')
-rw-r--r-- | integration/apps/bun-create-next.sh | 14 | ||||
-rw-r--r-- | integration/apps/bun-create-react.sh | 14 |
2 files changed, 28 insertions, 0 deletions
diff --git a/integration/apps/bun-create-next.sh b/integration/apps/bun-create-next.sh new file mode 100644 index 000000000..f0e4e2a5e --- /dev/null +++ b/integration/apps/bun-create-next.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +killall -9 $(basename $BUN_BIN) || echo ""; + +rm -rf /tmp/next-app; +mkdir -p /tmp/next-app; +$BUN_BIN create next /tmp/next-app; +cd /tmp/next-app; +$BUN_BIN --port 8087 & +sleep 0.005 + +curl --fail http://localhost:8087/ && killall -9 $(basename $BUN_BIN) && echo "✅ bun create next passed." +exit $? + diff --git a/integration/apps/bun-create-react.sh b/integration/apps/bun-create-react.sh new file mode 100644 index 000000000..3de1f5c09 --- /dev/null +++ b/integration/apps/bun-create-react.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +killall -9 $(basename $BUN_BIN) || echo ""; + +rm -rf /tmp/react-app; +mkdir -p /tmp/react-app; +$BUN_BIN create react /tmp/react-app; +cd /tmp/react-app; +$BUN_BIN --port 8087 & +sleep 0.005 + +curl --fail http://localhost:8087/ && killall -9 $(basename $BUN_BIN) && echo "✅ bun create react passed." +exit $? + |