wp-go/app/plugins/devexample/plugintt/make.sh

7 lines
243 B
Bash
Raw Normal View History

2023-05-04 13:39:29 +00:00
#/bin/bash
2023-05-04 13:44:17 +00:00
# copy plugintt to other dir and remove .dev suffix
# note the go version and build tool flag must same to server build
2023-05-06 15:00:43 +00:00
# eg: -gcflags all="-N -l" --race may used in ide debug
go mod tidy
2023-05-04 13:39:29 +00:00
go build -buildmode=plugin -o xx.so main.go