Qob
GitHub Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage
Edit page

πŸ”° Quick Start

Using Qob as your Lisp system management tool.

It is required to have Git installed to run this tutorial.

πŸ” Step 1: Download prebuilt binary

See the Prebuilt binaries section.

πŸ’‘ If you encounter any issue, try Build from source.

To verify your new installation:

$ qob --version

πŸ” Step 2: Navigate to an existing project or create a new project

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.

πŸ” Step 3: Create Qob-file

Then, to create Qob-file in the project:

$ qob init

You should be able to see an Qob file in your project folder. πŸŽ‰πŸŽŠ

πŸ” Step 4: Start the package development

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)!

πŸ” Step 5: Manage system dist

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!

πŸ” Step 6: Add some dependencies

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!

πŸ” Step 7: Install dependencies

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)

πŸ”— See Also