23 lines
241 B
Bash
23 lines
241 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
source .build.sh
|
||
|
|
||
|
echo
|
||
|
echo '==> Checking deps'
|
||
|
which git
|
||
|
which go
|
||
|
|
||
|
echo
|
||
|
echo '==> Cloning repo'
|
||
|
clone https://github.com/natesales/q.git q
|
||
|
|
||
|
cd q
|
||
|
trap 'cd ..' EXIT
|
||
|
|
||
|
echo
|
||
|
echo '==> Building q'
|
||
|
build_go -o q
|
||
|
|
||
|
echo
|
||
|
echo '==> Done'
|