aboutsummaryrefslogtreecommitdiff
path: root/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* build: add ci + release targets, a pre-push hook, and a CHANGELOGLukasz Kasprzak2026-07-291-1/+23
| | | | | | | | | | | | | | | Process hygiene so the version never silently drifts again and the two build-tag test sets stay green. - `make ci`: gofmt-clean + go vet + `go test ./...` (default tags) AND `make test` (-tags fullbible + corpus checks). The default-tag suite is easy to forget (only fullbible embeds the corpora), so ci runs both. - scripts/hooks/pre-push + `make install-hooks`: run `make ci` before any push (bypass with --no-verify). - `make release VERSION=x.y.z`: refuse a dirty tree or a missing CHANGELOG entry, bump const Version, run ci, commit, and tag vX.Y.Z (prints the push command -- publishing stays a manual choice). - CHANGELOG.md: terse, one line per release, starting at the first tags.
* make: add install-full (installs all three with wuj/drb/grb embedded)Lukasz Kasprzak2026-07-291-1/+9
| | | | | | | `install` builds the vul-only default; `install-full` mirrors it but with -tags fullbible, so lectio, lectio-ui and lectio-web all ship the optional corpora. Prints a reminder that those are third-party scripture and such a build is not freely redistributable (see NOTICE).
* man: add lectio(1), lectio-ui(1), lectio-web(1); install via MakefileLukasz Kasprzak2026-07-291-4/+7
| | | | | | | | Add man pages for all three binaries under man/, and install them with `make install` to $(MANDIR) (= $(PREFIX)/share/man/man1); `make uninstall` removes them. lectio(1) documents every flag, the config files (corpora, names, ui, calendars, sanctorale) and examples; the ui/web pages are short. They render clean under man/mandoc.
* bible: embed only the Vulgate by default; other corpora opt-inLukasz Kasprzak2026-07-281-7/+11
| | | | | | | | | | | | | | | | | Split the bundled corpora so the default binary carries only the public-domain Latin Vulgate. wuj/drb/grb move to corpora_optional/ and are compiled in only with `-tags fullbible`, or dropped into the user corpora dir at runtime. This keeps the distributed AGPL binary free of third-party scripture text -- bible corpora are not covered by lectio's licence. - bible: read corpus files/metadata from core + optional embed FS (embReadCorpus/embCorpusFiles); optionalFS is set only under the tag. - config: default `versions` now reflects corpora actually available in the build (Vulgate first), so a vul-only binary offers no absent versions. - Makefile: `make build` = vul only; `make build-full` embeds the rest; `make test` runs with -tags fullbible; check-corpora validates both dirs. - tests: corpusmeta asserts on vul (the always-embedded corpus); the versions-default expectation follows availableVersions().
* build: corpus-validate script + add-corpus/check-corpora make targetsLukasz Kasprzak2026-07-271-2/+24
|
* docs: README; wire lectio-web into build; finalizeLukasz Kasprzak2026-07-231-7/+11
| | | | | | | | | | Add README.md documenting all three binaries (lectio, lectio-ui, lectio-web), config keys, the 12 themes, display modes, offline/update workflow, and both lectionaries, surveyed against the real source. Wire the third binary into Makefile's build/install/uninstall/clean/cross targets (LECTIO_WEB var, ./cmd/lectio-web) and add /lectio-web to .gitignore, matching the existing lectio/lectio-ui style.
* scaffold: module, mains, Makefile, embedded corporaLukasz Kasprzak2026-07-231-0/+34