mirror of
https://github.com/jeremyd/ergo.git
synced 2026-07-21 23:08:11 -07:00
first pass at #409
This commit is contained in:
Executable
+16
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -z "$GOPATH" ]; then
|
||||
echo \$GOPATH is unset: see https://golang.org/doc/code.html for details
|
||||
exit 1
|
||||
fi
|
||||
|
||||
EXPECTED_DIR=${GOPATH}/src/github.com/oragono/oragono
|
||||
|
||||
if [ `pwd` != "$EXPECTED_DIR" ] ; then
|
||||
echo working checkout is not where \$GOPATH expects it: should be $EXPECTED_DIR
|
||||
exit 1
|
||||
fi
|
||||
|
||||
go install -v
|
||||
echo successfully installed as ${GOPATH}/bin/oragono
|
||||
Reference in New Issue
Block a user