refactor - moved common code to livekit/protocol
This commit is contained in:
+12
-7
@@ -1,12 +1,17 @@
|
||||
#!/bin/sh
|
||||
|
||||
cd /tmp
|
||||
git clone https://github.com/magefile/mage
|
||||
cd mage
|
||||
go run bootstrap.go
|
||||
rm -rf /tmp/mage
|
||||
|
||||
if ! command -v mage &> /dev/null
|
||||
then
|
||||
echo "Ensure ${GOPATH}/bin is in your \$PATH"
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user