Files
livekit/bootstrap.sh
2021-03-13 22:01:51 -08:00

18 lines
275 B
Bash
Executable File

#!/bin/sh
if ! command -v mage &> /dev/null
then
pushd /tmp
git clone https://github.com/magefile/mage
cd mage
go run bootstrap.go
rm -rf /tmp/mage
popd
fi
if ! command -v mage &> /dev/null
then
echo "Ensure `go env GOPATH`/bin is in your \$PATH"
exit 1
fi