github.com/fananchong/cstruct-go@v0.0.0-20220616060855-b65d9a2f2e17/build.sh (about)

     1  #!/bin/bash
     2  
     3  set -ex
     4  
     5  CUR_DIR=$PWD
     6  export GOBIN=$PWD/bin
     7  go install -race .
     8  
     9  cd ./example
    10  go install -race main.go
    11  cmake .
    12  
    13  cd $CUR_DIR