summaryrefslogtreecommitdiff
path: root/www/build-site.el
diff options
context:
space:
mode:
authorMarek Paśnikowski <marek@marekpasnikowski.pl>2024-01-18 19:49:11 +0100
committerMarek Paśnikowski <marek@marekpasnikowski.pl>2024-01-18 22:03:13 +0100
commita1adb2e6c8376e361935e77a3e7ad4a0180729fa (patch)
tree24cd588efb13e2fe6307ef4ff2ec827eba51f139 /www/build-site.el
parent382a8a930ea88086855e09488ef410378aed7ae0 (diff)
Create initial build object.
The code is more complex than necessary, because of my insistence of creating an all-object oriented framework.
Diffstat (limited to 'www/build-site.el')
-rw-r--r--www/build-site.el10
1 files changed, 10 insertions, 0 deletions
diff --git a/www/build-site.el b/www/build-site.el
new file mode 100644
index 0000000..cac2525
--- /dev/null
+++ b/www/build-site.el
@@ -0,0 +1,10 @@
+;; -*- lexical-binding: t; -*-
+
+( require 'ox-publish )
+
+( setq build-publication
+ ( let ( ( report-success "Build complete!" ) )
+ ( lambda ()
+ ( message report-success ) ) ) )
+
+( funcall build-publication )