-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yaml
78 lines (73 loc) · 1.92 KB
/
.goreleaser.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
project_name: docsim
before:
hooks:
- sh -c "gzip -c -n -9 ./manpages/docsim.1 > ./manpages/docsim.1.gz"
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
archives:
- name_template: >-
{{ .ProjectName }}_
{{- .Version }}_
{{- .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end }}
rlcp: true
format_overrides:
- goos: windows
format: zip
files:
- README.md
- LICENSE.md
- manpages/*
brews:
- folder: Formula
tap:
owner: hrs
name: homebrew-docsim
branch: main
token: "{{ .Env.GITHUB_TOKEN }}"
goarm: "7"
description: Local, in-memory search tool, ranking results by textual similarity.
homepage: https://github.com/hrs/docsim
license: GPL-3.0-or-later
test: system "make test"
install: |-
bin.install "docsim"
man1.install "manpages/docsim.1"
nfpms:
- maintainer: Robin Schwartz <hello@robinschwartz.me>
description: |-
Local, in-memory search tool, ranking results by textual similarity.
Docsim uses information retrieval techniques (like stemming and TF-IDF) to
parse text documents and rank them by similarity to a given query. It's
like a local search engine for your notes or code.
bindir: /usr/bin
section: utils
homepage: https://github.com/hrs/docsim
license: GPLv3
contents:
- src: ./manpages/docsim.1.gz
dst: /usr/share/man/man1/docsim.1.gz
file_info:
mode: 0644
- src: ./debian/copyright
dst: /usr/share/doc/docsim/copyright
file_info:
mode: 0644
formats:
- deb
- rpm
deb:
lintian_overrides:
- statically-linked-binary
- changelog-file-missing-in-native-package