summaryrefslogtreecommitdiff
path: root/build-web.scm
diff options
context:
space:
mode:
Diffstat (limited to 'build-web.scm')
-rw-r--r--build-web.scm14
1 files changed, 14 insertions, 0 deletions
diff --git a/build-web.scm b/build-web.scm
new file mode 100644
index 0000000..c27a25f
--- /dev/null
+++ b/build-web.scm
@@ -0,0 +1,14 @@
+(import (rnrs programs)
+ (ice-9 match)
+ (skribilo engine)
+ (tissue web))
+
+(let ((html-engine (find-engine 'html)))
+ (engine-custom-set! html-engine 'css "/style.css")
+ (match (command-line)
+ ((_ output-directory)
+ (build-website output-directory
+ #:title "GeneNetwork issue tracker"
+ #:tags-path "/tags"))
+ (_
+ (error "Invalid command-line usage"))))