add pregexp as a dependency
we will need it for stuff like ce-command-reg-replace added as a git submodule because common lisp package management is a bit complex looking and i have no idea what i am doing :P
This commit is contained in:
parent
f7e9cf3357
commit
ca946964f5
|
@ -0,0 +1,3 @@
|
|||
[submodule "pregexp"]
|
||||
path = pregexp
|
||||
url = https://github.com/ds26gte/pregexp/
|
7
ce.asd
7
ce.asd
|
@ -1,10 +1,13 @@
|
|||
; -*- lisp -*-
|
||||
|
||||
; override file extension
|
||||
; defaults to .lisp rather than .cl
|
||||
(defclass file (cl-source-file)
|
||||
(defclass clfile (cl-source-file)
|
||||
((type :initform "cl")))
|
||||
|
||||
(defsystem :ce
|
||||
:depends-on (#:asdf)
|
||||
:components ((:file "ce")))
|
||||
:components
|
||||
((:clfile "ce" :depends-on ("pregexp/pregexp"))
|
||||
(:file "pregexp/pregexp")))
|
||||
|
||||
|
|
5
ce.cl
5
ce.cl
|
@ -1,5 +1,10 @@
|
|||
; -*- lisp -*-
|
||||
|
||||
(require :asdf)
|
||||
; pregexp seems to not have a provide, so we cannot require
|
||||
; instead try loading it if not already bundled in via asdf
|
||||
(when (not (boundp '*pregexp-version*))
|
||||
(load "pregexp/pregexp.lisp"))
|
||||
|
||||
(defvar ce-commands-alist '((#\q . quit)
|
||||
(#\Newline . ce-command-enter)
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Subproject commit d456c686b17fa5cc28039c1bb765daed3e68d2b0
|
Loading…
Reference in New Issue