Skip to content

Commit fa81f03

Browse files
committed
readme
1 parent 7041b32 commit fa81f03

File tree

1 file changed

+42
-5
lines changed

1 file changed

+42
-5
lines changed

README.md

Lines changed: 42 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,55 @@
22

33
Common interface for version control systems.
44

5-
Repo along with Manifest allow you to use source repositories directly as
6-
ASDF-installable packages. Keep it synced with upstream for development
7-
purposes.
5+
Repo allows you to use source repositories directly as ASDF-installable
6+
packages and keep them synced with upstream for development purposes.
7+
8+
Each repo is installed in a subdirectory.
9+
Github repositories are installed in the user subdirectory.
810

911
## Usage
1012

13+
Install ASDF from git :
14+
15+
``` SH
16+
mkdir -p ~/common-lisp/fare
17+
cd ~/common-lisp/fare
18+
git clone https://github.com/fare/asdf.git
19+
cd asdf
20+
make
21+
```
22+
23+
Install REPO from git :
24+
25+
``` SH
26+
mkdir -p ~/common-lisp/thodg
27+
cd ~/common-lisp/thodg
28+
git clone https://github.com/thodg/repo.git
29+
make
30+
```
31+
32+
In your Common Lisp implementation startup file :
33+
1134
``` Common-Lisp
12-
;; startup repo
13-
(load "~/common-lisp/thodg/repo/repo.lisp")
35+
(load "~/common-lisp/fare/asdf/build/asdf")
36+
(load "~/common-lisp/thodg/repo/repo")
1437
(repo:boot)
1538
```
1639

40+
Repo integrates with ASDF :
41+
42+
``` Common-Lisp
43+
(asdf:load-system :thot)
44+
```
45+
46+
To update all repositories :
47+
48+
``` Common-Lisp
49+
(repo:update repo:*manifest*)
50+
```
51+
52+
Other functions :
53+
1754
``` Common-Lisp
1855
(repo:repo "github:thodg/repo") ;; Define repository by URI
1956

0 commit comments

Comments
 (0)