wp-go/app/plugins/devexample/plugintt/make.sh
2023-05-06 23:00:43 +08:00

7 lines
243 B
Bash

#/bin/bash
# copy plugintt to other dir and remove .dev suffix
# note the go version and build tool flag must same to server build
# eg: -gcflags all="-N -l" --race may used in ide debug
go mod tidy
go build -buildmode=plugin -o xx.so main.go