WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
File tree Expand file tree Collapse file tree 4 files changed +66
-0
lines changed
Expand file tree Collapse file tree 4 files changed +66
-0
lines changed Original file line number Diff line number Diff line change 1+ /target
2+
3+ dist /
Original file line number Diff line number Diff line change 1+ # This is an example .goreleaser.yml file with some sensible defaults.
2+ # Make sure to check the documentation at https://goreleaser.com
3+
4+ # The lines below are called `modelines`. See `:help modeline`
5+ # Feel free to remove those if you don't want/need to use them.
6+ # yaml-language-server: $schema=https://goreleaser.com/static/schema.json
7+ # vim: set ts=2 sw=2 tw=0 fo=cnqoj
8+
9+ version : 2
10+
11+ before :
12+ hooks :
13+ # if you don't do these things before calling goreleaser, it might be a
14+ # good idea to do them here:
15+ - rustup default stable
16+ - cargo install --locked cargo-zigbuild
17+ - cargo fetch --locked
18+
19+ builds :
20+ - builder : rust
21+ targets :
22+ - x86_64-unknown-linux-gnu
23+ - x86_64-apple-darwin
24+ - x86_64-pc-windows-gnu
25+ - aarch64-unknown-linux-gnu
26+ - aarch64-apple-darwin
27+
28+ archives :
29+ - format : tar.gz
30+ # this name template makes the OS and Arch compatible with the results of `uname`.
31+ name_template : >-
32+ {{ .ProjectName }}_
33+ {{- title .Os }}_
34+ {{- if eq .Arch "amd64" }}x86_64
35+ {{- else if eq .Arch "386" }}i386
36+ {{- else }}{{ .Arch }}{{ end }}
37+ # use zip for windows archives
38+ format_overrides :
39+ - goos : windows
40+ format : zip
41+
42+ changelog :
43+ sort : asc
44+ filters :
45+ exclude :
46+ - " ^docs:"
47+ - " ^test:"
48+
49+ release :
50+ footer : >-
51+
52+ ---
53+
54+ Released by [GoReleaser](https://github.com/goreleaser/goreleaser).
Original file line number Diff line number Diff line change 1+ [package ]
2+ name = " example-rust"
3+ version = " 0.1.0"
4+ edition = " 2021"
5+
6+ [dependencies ]
Original file line number Diff line number Diff line change 1+ fn main ( ) {
2+ println ! ( "Hello, world!" ) ;
3+ }
You can’t perform that action at this time.
0 commit comments