Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Update HACKING instructions and fix build scripts.
- Loading branch information
Showing
3 changed files
with
15 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,18 @@ | ||
Development: | ||
|
||
First download the dependency tarball. | ||
Ensure sbcl is installed. Then... | ||
wget -c http://beta.quicklisp.org/quicklisp.lisp; | ||
sbcl --load quicklisp.lisp # and type (quicklisp-quickstart:install) when prompted, then (ql:add-to-init-file) | ||
|
||
Then: | ||
Afterwards, you may work on paktahn as follows: | ||
|
||
% cd paktahn | ||
% sbcl | ||
* (require :asdf) | ||
* (push "/path/to/clbuild.paktahn/" asdf:*central-registry*) ; mind trailing slash | ||
* (load "main.lisp") ; repeat this line when you changed the source code | ||
* (in-package :pak) | ||
* ;; execute functions here (e.g. SEARCH-AND-INSTALL-PACKAGE) | ||
% sbcl | ||
* (ql:quickload 'paktahn) | ||
* (in-package :pak) | ||
* (ensure-initial-cache) ; load the package cache. you might need it. | ||
; write some code and test it at the REPL | ||
; write tests for it and run them as follows... | ||
* (asdf:oos 'asdf:test-op 'paktahn) | ||
* (quit) ; eventually get bored and leave | ||
|
||
Also see dev-install.sh | ||
Also see dev-install.sh if you wish to replace your local paktahn with your development code. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
source ./PKGBUILD | ||
tar cvfj paktahn-$pkgver.tar.bz2 \ | ||
{alpm,aur,main,pkgbuild,util,readline,term,pyconfig-fix,cache,checksums,packages,customizepkg,safe-foreign-string}.lisp \ | ||
tar cvfj paktahn-$pkgver.tar.bz2 src/ \ | ||
paktahn.asd \ | ||
pkgbuild-helper.sh makepkg-helper.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
rlwrap sbcl --load sbclrc \ | ||
--eval "(asdf:oos 'asdf:load-op 'paktahn)" \ | ||
rlwrap sbcl --eval "(asdf:oos 'asdf:load-op 'paktahn)" \ | ||
--eval "(in-package :pak)" "$@" |