Skip to content

Commit

Permalink
add target for server key generation
Browse files Browse the repository at this point in the history
  • Loading branch information
linyows committed Aug 21, 2023
1 parent 5893e24 commit ecde6f4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ mysql-plugin:
file-plugin:
env GOOS=$(GOOS) GOARCH=$(GOARCH) CGO_ENABLED=1 go build -buildmode=plugin -o plugin/file.so plugin/file/main.go

key:
@rm -rf testdata/server.*
@openssl req -x509 -days 10 -newkey ED25519 -nodes -out ./testdata/server.crt -keyout ./testdata/server.key -subj "/C=/ST=/L=/O=/OU=/CN=example.local" &>/dev/null

release:
@test -z $(GITHUB_TOKEN) || goreleaser --rm-dist

Expand Down

0 comments on commit ecde6f4

Please sign in to comment.