GitXplorerGitXplorer
R

CommonLisp-Template

public
2 stars
0 forks
0 issues

Commits

List of commits on branch main.
Verified
31eb24ca80a33c161aac5ff6bfe5a0e7437e4a71

Migration to Codeberg

RRelease-Candidate committed 2 months ago
Verified
3629076a2db6e0ea52b57ff32ce8644f76bdd997

Fix name of property testing library: check-it

RRelease-Candidate committed 2 months ago
Verified
0fcd55973bfcb4dcd331ee1d6a94d49ac8dcbdd2

Add testing badge

RRelease-Candidate committed 3 months ago
Verified
ce710a75472eecf30e2f67ca301fb9169ab5fffe

Add documentation

RRelease-Candidate committed 3 months ago
Verified
cf80f5450b9cf3808fe9af21b972090907d0f957

Add test runner which exits the REPL with an error code

RRelease-Candidate committed 3 months ago
Verified
7c653c1cbba2b2b9ec0fc662a79f9cbb46942480

Pipe the output of ocicl setup

RRelease-Candidate committed 3 months ago

README

The README file for this repository.

[!WARNING] This repository has been moved to Codeberg: Common Lisp Project Template

Common Lisp Project Template

Test <- this test is failing to check whether failing tests actually cause the workflow to fail

This is a template for a Common Lisp project using Ocicl for package management, Lisp-Unit2 as testing framework and Check-It as property testing library. Contains GitHub actions for Linux, MacOS and Windows in ./.github/workflows/test.yml.

Lisp Systems (Packages) Used

Usage

To be able to download all needed systems, Ocicl must be installed and setup to work in your REPL.

Downloading Systems

In a REPL with Ocicl enabled, run

(asdf:load-system :commonlisp-template)

Now the directory ./systems/ should exist and be filled with the downloaded dependencies.

Running Tests

To run all tests defined by function run-tests in file ./test/main-test.lisp either call ASDF's test runner in a REPL:

(asdf:test-system :commonlisp-template)

or evaluate it on the command line, for example using SBCL:

sbcl --non-interactive --eval '(asdf:test-system :commonlisp-template)'

For the configuration of the test runner, see the definition of system commonlisp-template/test in file ./commonlisp-template.asd

To run tests in the terminal or in a CI, run (commonlisp-template/test:run-tests-exit) which quits the REPL with an exit code.

sbcl --non-interactive --eval '(asdf:load-system :commonlisp-template/test)'  --eval '(commonlisp-template/test:run-tests-exit)'

Generate the Executable

The generate the executable commonlisp-template call asdf:make in a REPL:

(asdf:make :commonlisp-template)

or evaluate it on the command line, for example using SBCL:

sbcl --non-interactive --eval '(asdf:make :commonlisp-template)'

Blog Posts About This Project

License

This template is licensed under the MIT license, see file ./LICENSE