Merge pull request #70 from Ferada/no-plugin-compilation
Don't compile plugin files.
This commit is contained in:
commit
1d5b9117e2
1 changed files with 5 additions and 1 deletions
|
@ -53,7 +53,11 @@
|
|||
(plugin-package (sym)
|
||||
(format nil "~:@(coleslaw-~A~)" sym)))
|
||||
(let ((file (plugin-path name)))
|
||||
(load (compile-file file :verbose nil :print nil) :verbose t))
|
||||
(multiple-value-bind (output-file error)
|
||||
(ignore-errors (compile-file file :verbose nil :print nil))
|
||||
(when error
|
||||
(warn "Error while compiling plugin ~A: ~A.~%" name error))
|
||||
(load (or output-file file) :verbose t)))
|
||||
(let ((package (find-package (plugin-package name))))
|
||||
(apply (find-symbol "ENABLE" package) args))))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue