work_path=$WIN88_DIR
protoc=$work_path/bin/protoc-3.19.4-osx-x86_64/bin/protoc
protocgengo=$work_path/bin/protoc-gen-go
[ -d "$work_path" ] && echo "$work_path is dir"
[ -f "$protoc" ] && echo "$protoc is file"
[ -f "$protocgengo" ] && echo "$protocgengo is file"

#if [ ! -f xlsx2protomac ];
#then
  go build
  [ -f xlsx2protomac ] && echo "xlsx2proto可执行文件成功生成"
#else
#  echo "xlsx2proto已经存在"
#fi

./xlsx2protomac