9 lines
180 B
Bash
Executable File
9 lines
180 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
root=$(readlink -e $(dirname $0))
|
|
cd $root
|
|
export GOPATH=$root/go
|
|
mkdir -p $GOPATH
|
|
go get -u github.com/majestrate/srndv2
|
|
cp -a $GOPATH/bin/srndv2 $root
|