1d1984e85f
- Actually define *static-dir* at build time, to get the search.png in the search box - Better logging for migration running at startup time - Fix and-where to properly exclude nil clauses - fix looking up build-time vars in the :build package Change-Id: Ia2ef3b2715d4c2efb62bbb2c72084f0f0ad09562 Reviewed-on: https://cl.tvl.fyi/c/depot/+/11325 Autosubmit: aspen <root@gws.fyi> Reviewed-by: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI
65 lines
1.3 KiB
Nix
65 lines
1.3 KiB
Nix
{ depot, pkgs, ... }:
|
|
|
|
depot.nix.buildLisp.program {
|
|
name = "panettone";
|
|
|
|
deps = with depot.third_party.lisp; [
|
|
bordeaux-threads
|
|
cl-json
|
|
cl-ppcre
|
|
cl-smtp
|
|
cl-who
|
|
str
|
|
defclass-std
|
|
drakma
|
|
easy-routes
|
|
hunchentoot
|
|
lass
|
|
local-time
|
|
postmodern
|
|
|
|
depot.lisp.klatre
|
|
];
|
|
|
|
srcs = [
|
|
./panettone.asd
|
|
./src/packages.lisp
|
|
(pkgs.writeText "build.lisp" ''
|
|
(defpackage build
|
|
(:use :cl :alexandria)
|
|
(:export :*migrations-dir* :*static-dir*))
|
|
(in-package :build)
|
|
(declaim (optimize (safety 3)))
|
|
(defvar *migrations-dir* "${./src/migrations}")
|
|
(defvar *static-dir* "${./src/static}")
|
|
'')
|
|
./src/util.lisp
|
|
./src/css.lisp
|
|
./src/email.lisp
|
|
./src/inline-markdown.lisp
|
|
./src/authentication.lisp
|
|
./src/model.lisp
|
|
./src/irc.lisp
|
|
./src/panettone.lisp
|
|
];
|
|
|
|
tests = {
|
|
deps = with depot.third_party.lisp; [
|
|
fiveam
|
|
];
|
|
|
|
srcs = [
|
|
./test/package.lisp
|
|
./test/model_test.lisp
|
|
./test/inline-markdown_test.lisp
|
|
./test/util_test.lisp
|
|
];
|
|
|
|
expression = "(fiveam:run!)";
|
|
};
|
|
|
|
brokenOn = [
|
|
"ecl" # dependencies use dynamic cffi
|
|
"ccl" # The value NIL is not of the expected type STRING. when loading model.lisp
|
|
];
|
|
}
|