aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/cli/darwin-release.yml
diff options
context:
space:
mode:
author简律纯 <hsiangnianian@outlook.com>2023-04-28 01:36:44 +0800
committer简律纯 <hsiangnianian@outlook.com>2023-04-28 01:36:44 +0800
commitdd84b9d64fb98746a230cd24233ff50a562c39c9 (patch)
treeb583261ef00b3afe72ec4d6dacb31e57779a6faf /cli/darwin-release.yml
parent0b46fcd72ac34382387b2bcf9095233efbcc52f4 (diff)
downloadHydroRoll-dd84b9d64fb98746a230cd24233ff50a562c39c9.tar.gz
HydroRoll-dd84b9d64fb98746a230cd24233ff50a562c39c9.zip
Diffstat (limited to 'cli/darwin-release.yml')
-rw-r--r--cli/darwin-release.yml35
1 files changed, 35 insertions, 0 deletions
diff --git a/cli/darwin-release.yml b/cli/darwin-release.yml
new file mode 100644
index 0000000..ca6e8a0
--- /dev/null
+++ b/cli/darwin-release.yml
@@ -0,0 +1,35 @@
+project_name: turbo
+before:
+ hooks:
+ - make compile-protos
+ - go mod tidy
+
+dist: dist-darwin
+
+builds:
+ - id: turbo
+ main: ./cmd/turbo
+ tags:
+ - rust
+ - staticbinary
+ binary: bin/go-turbo
+ hooks:
+ pre:
+ - cmd: make turborepo-ffi-install-{{ .Os }}-{{ .Arch }}
+ output: true
+ flags:
+ - -trimpath
+ ldflags:
+ - -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.CommitDate}} -X main.builtBy=goreleaser
+ mod_timestamp: "{{ .CommitTimestamp }}"
+ env:
+ - CGO_ENABLED=1
+ targets:
+ - darwin_arm64
+ - darwin_amd64
+
+archives:
+ - format: binary
+
+release:
+ disable: true