tvl-depot/gemma.asd
Vincent Ambo 8703b6102c feat(build): Add initial Nix-based build process
Adds a build script using ASDF's program-op to build an executable out
of the Gemma source code.

In addition a Nix derivation is provided that will both compile the
Elm source and place it in a folder, as well as create the executable.

Currently static file serving does not function as intended.
2017-12-29 16:42:10 +01:00

30 lines
921 B
Common Lisp

#|
This file is part of Gemma.
Gemma is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Copyright (c) 2017 Vincent Ambo
|#
(defsystem "gemma"
:version "0.1.0"
:author "Vincent Ambo"
:license "GPLv3"
:depends-on (local-time
hunchentoot
cl-json
cl-prevalence)
:components ((:module "src"
:components
((:file "gemma"))))
:build-operation program-op
:output-files (program-op (c o) '("build/gemma"))
:entry-point "gemma::entrypoint"
:description "Gemma is a household task management system"
:long-description
#.(read-file-string
(subpathname *load-pathname* "README.markdown"))
:in-order-to ((test-op (test-op "gemma-test"))))