π° Quick Start
Using Qob as your Lisp system management tool.
It is required to have Git installed to run this tutorial.
See the Prebuilt binaries section.
π‘ If you encounter any issue, try Build from source.
To verify your new installation:
$ qob --version
If you already have an existing common lisp project, navigate to the project root folder.
$ cd /path/to/project/dir/
To create one:
$ qob create cl-project <your-project>
It should create a folder named <your-project>
in your current working directory.
Then, to create Qob-file in the project:
$ qob init
You should be able to see an Qob
file in your project folder. ππ
To check your package information, run:
$ qob info
You should be able to see the following information:
your-package (1.0.0) | deps: 0
Your project description!
https://example.com/project-url/
Author: Your Name
License: MIT
From the start, you would not have any dependencies
(0
by default)!
You can manage dist by using the source
directive in your Qob-file.
(source "quicklisp") ; default dist
(source "ultralisp") ; Addition dist
π‘ See DSL/source for more information!
You can now add dependencies in your ASD file.
(defsystem "your-project"
...
:depends-on (flx str clingon) ; Add dependencies here!
...
You can add local dependencies by using depends-on
directive in your Qob-file.
...
(depends-on "fsdb" "https://github.com/billstclair/fsdb" :git)
π‘ Make sure the dependencies you add are available in one of those dist!
Now we can install the dependencies we have specified in ASD and Qob files:
$ qob install-deps
You should see Qob executed correctly with the similar output below:
Loading ASDF files... done β
Installing 1 system...
- [1/1] Installing fsdb from https://github.com/billstclair/fsdb... done β
(Total of 1 system installed; 0 skipped)
Installing 3 systems...
- [1/3] Installing flx (0)... done β
- [2/3] Installing str (0)... done β
- [3/3] Installing clingon (0)... done β
(Total of 3 systems installed; 0 skipped)