mirror of
https://github.com/browseros-ai/BrowserOS.git
synced 2026-05-19 11:31:03 +00:00
git-subtree-dir: packages/browseros-agent git-subtree-mainline:8f148d0918git-subtree-split:90bd4be300
17 lines
339 B
Bash
Executable File
17 lines
339 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
DIR="$(cd "$(dirname "$0")" && pwd)"
|
|
|
|
if ! command -v go &>/dev/null; then
|
|
echo ""
|
|
echo " Go is required to build browseros-dev but is not installed."
|
|
echo " Install it with: brew install go"
|
|
echo " Or download from: https://go.dev/dl/"
|
|
echo ""
|
|
exit 1
|
|
fi
|
|
|
|
make -sC "$DIR"
|
|
exec "$DIR/browseros-dev" "$@"
|