move to mage for build

This commit is contained in:
David Zhao
2020-12-22 14:37:45 -08:00
parent ed472c8569
commit 202979d346
8 changed files with 381 additions and 100 deletions
Executable
+12
View File
@@ -0,0 +1,12 @@
#!/bin/sh
cd /tmp
git clone https://github.com/magefile/mage
cd mage
go run bootstrap.go
rm -rf mage
if ! command -v mage &> /dev/null
then
echo "Ensure ${GOPATH}/bin is in your \$PATH"
fi