-
Notifications
You must be signed in to change notification settings - Fork 1
/
.goreleaser.yaml
76 lines (74 loc) · 1.89 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
version: 2
before:
hooks:
- go mod tidy
builds:
- id: texd
main: ./cmd/texd
binary: texd
flags:
- -trimpath
ldflags:
- -s -w
- -X github.com/digineo/texd.version={{ .Version }}
- -X github.com/digineo/texd.commit={{ .Commit }}
- -X github.com/digineo/texd.commitat={{ .CommitDate }}
- -X github.com/digineo/texd.buildat={{ .Date }}
- -X github.com/digineo/texd.isdev=0
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
goarch:
- amd64
- arm64
nfpms:
- id: texd
builds: [texd]
package_name: texd
vendor: Digineo GmbH
homepage: https://github.com/digineo/texd
maintainer: Dominik Menke <dom@digineo.de>
description: |-
texd wraps a local TeX installation into a web service.
Alternatively, texd executes each compilation job in an isolated
Docker container.
license: MIT
formats:
- deb
contents:
- src: debian/texd.service
dst: /lib/systemd/system/texd.service
scripts:
postinstall: debian/postinstall.sh
preremove: debian/preremove.sh
postremove: debian/postremove.sh
overrides:
deb:
recommends:
- latexmk
- texlive-xetex
- id: tools
package_name: texd-tools
meta: true
homepage: https://github.com/digineo/texd
maintainer: Dominik Menke <dom@digineo.de>
description: |-
texd-tools includes command line tools useful to interact with
a texd server. Currently, the following tools are bundled:
* texd-render: an HTTP client to compile source files to PDF
license: MIT
formats:
- deb
contents:
- src: cmd/texd-render
dst: /usr/bin/texd-render
overrides:
deb:
dependencies:
- python3-requests
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}-next"