Skip to content

Commit

Permalink
build: arm support
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
  • Loading branch information
sagikazarmark committed Nov 28, 2022
1 parent 4c692b6 commit d36ba33
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 28 deletions.
9 changes: 6 additions & 3 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,14 @@ indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true

[*.go]
indent_style = tab

[{Makefile,*.mk}]
indent_style = tab

[{Taskfile.yaml,.goreleaser.yaml}]
indent_size = 2

[*.nix]
indent_size = 2

[*.go]
indent_style = tab
27 changes: 27 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
builds:
- main: ./protoc-gen-twirp_php/
binary: protoc-gen-twirp_php
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm64
flags:
- -trimpath
ldflags: "-s -w -X main.version={{.Version}}"

archives:
- name_template: "protoc-gen-twirp_php_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
format_overrides:
- goos: windows
format: zip

checksum:
name_template: "protoc-gen-twirp_php_checksums.txt"

changelog:
skip: true
25 changes: 0 additions & 25 deletions goreleaser.yaml

This file was deleted.

0 comments on commit d36ba33

Please sign in to comment.