Add Makefile (build / test / run / install) #5

Merged
dxtr merged 2 commits from makefile into main 2026-06-06 21:12:25 +02:00
Owner

Convenience targets wrapping the SBCL+ocicl invocations:

  • build (default): compile ./lispsearch via asdf:make; incremental on
    src/*.lisp, lispsearch.asd, ocicl.csv.
  • deps: ocicl install from the lockfile.
  • test / test-network: Parachute offline / network suites.
  • test-cli: build + test/m4-cli.sh.
  • run (ARGS=...), install (PREFIX/DESTDIR), clean, help.

Runs SBCL with --no-sysinit --no-userinit and loads the ocicl runtime
explicitly, so it behaves the same whether or not ~/.sbclrc loads ocicl
(avoids the double-load defconstant error). SBCL/RUNTIME/PREFIX/ARGS overridable.

Convenience targets wrapping the SBCL+ocicl invocations: - build (default): compile ./lispsearch via asdf:make; incremental on src/*.lisp, lispsearch.asd, ocicl.csv. - deps: ocicl install from the lockfile. - test / test-network: Parachute offline / network suites. - test-cli: build + test/m4-cli.sh. - run (ARGS=...), install (PREFIX/DESTDIR), clean, help. Runs SBCL with --no-sysinit --no-userinit and loads the ocicl runtime explicitly, so it behaves the same whether or not ~/.sbclrc loads ocicl (avoids the double-load defconstant error). SBCL/RUNTIME/PREFIX/ARGS overridable.
Convenience targets wrapping the SBCL+ocicl invocations:
- build (default): compile ./lispsearch via asdf:make; incremental on
  src/*.lisp, lispsearch.asd, ocicl.csv.
- deps: ocicl install from the lockfile.
- test / test-network: Parachute offline / network suites.
- test-cli: build + test/m4-cli.sh.
- run (ARGS=...), install (PREFIX/DESTDIR), clean, help.

Runs SBCL with --no-sysinit --no-userinit and loads the ocicl runtime
explicitly, so it behaves the same whether or not ~/.sbclrc loads ocicl
(avoids the double-load defconstant error). SBCL/RUNTIME/PREFIX/ARGS overridable.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
CI: run tests via the Makefile (make deps / make test)
All checks were successful
CI / test (pull_request) Successful in 1m43s
aaf0a8e4c9
Replace the inline ocicl install + sbcl test invocation in the workflow with
`make deps` and `make test`, so the build/test commands have a single source of
truth (the Makefile) instead of being duplicated. Add `make` to the apt deps.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
dxtr merged commit 6b7224f393 into main 2026-06-06 21:12:25 +02:00
dxtr deleted branch makefile 2026-06-06 21:12:25 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
dxtr/ocicl-search!5
No description provided.