Skip to content

Commit

Permalink
Update make.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
krischerven committed May 3, 2020
1 parent 1ea50bd commit d839ffc
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion make.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
#!/bin/bash
cd src
mkdir -p /tmp/gomics
sudo cp -r "$PWD/." /tmp/gomics
odir="$PWD"
cd /tmp/gomics/src
GOPATH="$PWD" # for dependencies
go generate
go build
mkdir -p ../bin
mv src ../bin/gomics
cd "$odir"
cp /tmp/gomics/bin/gomics "$PWD/bin"

0 comments on commit d839ffc

Please sign in to comment.