Skip to content

Commit

Permalink
updates flags as they are getting depricated
Browse files Browse the repository at this point in the history
  • Loading branch information
hemanjayam committed Jan 22, 2024
1 parent 5a6992d commit 173e3ac
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
14 changes: 12 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ builds:
- main: cmd/plax/main.go
id: plax
binary: plax
buildmode: 'c-shared'
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
Expand All @@ -21,7 +22,8 @@ builds:
- main: cmd/plaxrun/main.go
id: plaxrun
binary: plaxrun
buildmode: 'c-shared'
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
Expand All @@ -32,6 +34,8 @@ builds:
- main: cmd/plaxrun/plugins/report/stdout/main.go
id: plaxrun_report_stdout
binary: plaxrun_report_stdout
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
Expand All @@ -42,6 +46,8 @@ builds:
- main: cmd/plaxrun/plugins/report/octane/main.go
id: plaxrun_report_octane
binary: plaxrun_report_octane
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
Expand All @@ -52,6 +58,8 @@ builds:
- main: cmd/plaxrun/plugins/report/rp/main.go
id: plaxrun_report_rp
binary: plaxrun_report_rp
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
Expand All @@ -62,6 +70,8 @@ builds:
- main: cmd/yamlincl/main.go
id: yamlincl
binary: yamlincl
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ clean:

.PHONY: dist
dist: clean
goreleaser release --skip-publish --rm-dist
goreleaser release --skip=publish --clean

.PHONY: release
release: clean
goreleaser release --rm-dist
goreleaser release --clean

# A demonstratio of using a Go plug-in to load a MySQL driver at
# runtime for use in a Plax test that uses a SQL channel to talk to
Expand Down

0 comments on commit 173e3ac

Please sign in to comment.