| 1 |
# Installation |
| 2 |
|
| 3 |
## Using Quicklisp |
| 4 |
|
| 5 |
1. Install quicklisp |
| 6 |
2. Use quicklisp to install local-time |
| 7 |
|
| 8 |
(ql:quickload :local-time) |
| 9 |
|
| 10 |
## Manual Installation |
| 11 |
|
| 12 |
1. Make sure the ASDF library is loaded. In SBCL, this involves: |
| 13 |
|
| 14 |
(require :asdf) |
| 15 |
|
| 16 |
2. Add the path to the directory containing local-time.asd to |
| 17 |
asdf:*central-registry*. If you've installed this package using |
| 18 |
asdf-install, this shouldn't be necessary. |
| 19 |
|
| 20 |
(push "/my/local-time/directory/" asdf:*central-registry*) |
| 21 |
|
| 22 |
3. Load local-time using ASDF: |
| 23 |
|
| 24 |
(asdf:oos 'asdf:load-op 'local-time) |
| 25 |
|
| 26 |
4. In your own projects, you can direct asdf to automatically load |
| 27 |
LOCAL-TIME with the :depends-on asdf:defsystem directive. |
| 28 |
|
| 29 |
(defsystem myproject |
| 30 |
:depends-on (local-time) |
| 31 |
...) |
| 32 |
|
| 33 |
## Testing |
| 34 |
|
| 35 |
local-time uses Stefil for testing. To run the Stefil test suite, do |
| 36 |
the following:- |
| 37 |
|
| 38 |
(ql:quickload :local-time.test) |
| 39 |
(in-suite test) |
| 40 |
(test) |