Skip to content

Commit

Permalink
fix pre-commit issue (#812)
Browse files Browse the repository at this point in the history
* Update config.yml
  • Loading branch information
feiren.kuang authored and raullenchai committed Mar 23, 2019
1 parent a632b45 commit 4bc8415
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@

#CURR_DIR="$(dirname $0)"
#workspace=$(cd ../../)
gopath=$(go env|grep GOPATH)
export LD_LIBRARY_PATH=:${gopath}/src/github.com/iotexproject/iotex-core/crypto/lib
export LD_LIBRARY_PATH=:$GOPATH/src/github.com/iotexproject/iotex-core/crypto/lib
check_result() {
if [ $? != 0 ]; then
echo "$1 failed!!"
Expand All @@ -23,7 +22,7 @@ check_result() {
fi
}

cd ../../ && ./go.test.sh
./go.test.sh
check_result go.test.sh
curl -s https://codecov.io/bash|bash
go test -run=XXX -bench=. $(go list ./crypto)
Expand Down

0 comments on commit 4bc8415

Please sign in to comment.