maddy/.build.yml
fox.cpp d886ddd297
docs: Move the project documentation from GitHub Wiki
Having it in the same directory as the source code makes it simplier to
keep in sync with the source code itself.
2019-12-06 22:56:47 +03:00

25 lines
652 B
YAML

image: archlinux
packages:
- go
- pam
- scdoc
sources:
- https://github.com/foxcpp/maddy
tasks:
- build: |
cd maddy
go build ./...
- test: |
cd maddy
go test ./... -cover -race
- build-man-pages: |
cd maddy/docs/man
scdoc < maddy.1.scd > /dev/null
scdoc < maddy-auth.5.scd > /dev/null
scdoc < maddy-config.5.scd > /dev/null
scdoc < maddy-filters.5.scd > /dev/null
scdoc < maddy-imap.5.scd > /dev/null
scdoc < maddy-smtp.5.scd > /dev/null
scdoc < maddy-storage.5.scd > /dev/null
scdoc < maddy-targets.5.scd > /dev/null
scdoc < maddy-tls.5.scd > /dev/null