diff options
| author | Thanos Apollo <public@thanosapollo.org> | 2026-02-23 09:16:50 +0200 |
|---|---|---|
| committer | Thanos Apollo <public@thanosapollo.org> | 2026-02-23 09:16:50 +0200 |
| commit | 333b2fe76a0b3038e2c71d3c4b68fbafe835c8a0 (patch) | |
| tree | 2e222993a0471f6fd27398188a7e7cd9fc1adbb4 | |
| parent | 19363adaed437d330adb95ba564193f77ea1b392 (diff) | |
makefile: Add test-db and use guix-shell.
| -rw-r--r-- | Makefile | 15 |
1 files changed, 12 insertions, 3 deletions
@@ -1,5 +1,5 @@ .POSIX: -.PHONY: all doc clean test test-parsing test-integration +.PHONY: all doc clean test test-parsing test-db .SUFFIXES: .el .elc EMACS = emacs @@ -16,12 +16,21 @@ doc: $(ORG) --eval "(with-current-buffer (find-file \"$(ORG)\") (org-texinfo-export-to-texinfo) (org-texinfo-export-to-info) (save-buffer))" \ --kill -test: test-parsing test-integration +test: test-parsing test-db test-parsing: - $(EMACS) --batch \ + guix shell -m manifest.scm -- $(EMACS) --batch \ + --eval "(add-to-list 'load-path \".\")" \ + -l ert \ -l tests/org-gnosis-test-parsing.el \ -f ert-run-tests-batch-and-exit +test-db: + guix shell -m manifest.scm -- $(EMACS) --batch \ + --eval "(add-to-list 'load-path \".\")" \ + -l ert \ + -l tests/org-gnosis-test-db.el \ + -f ert-run-tests-batch-and-exit + clean: rm -f $(TEXI) $(INFO) *pkg* *autoloads* |
