about summary refs log tree commit diff homepage
path: root/.build.jl
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2021-03-07 11:29:26 +0700
committerNguyễn Gia Phong <mcsinyx@disroot.org>2021-03-07 11:29:26 +0700
commit3e6f0389f0cdac7b90970c49f455205563b48ad6 (patch)
tree4e4f0a018b1aae2276767f7f8da75fb4c909e772 /.build.jl
downloadsite-3e6f0389f0cdac7b90970c49f455205563b48ad6.tar.gz
Initialize a Franklin site
Diffstat (limited to '.build.jl')
-rw-r--r--.build.jl8
1 files changed, 8 insertions, 0 deletions
diff --git a/.build.jl b/.build.jl
new file mode 100644
index 0000000..c2bcf4c
--- /dev/null
+++ b/.build.jl
@@ -0,0 +1,8 @@
+import Pkg
+Pkg.instantiate()
+
+using NodeJS
+run(`$(npm_cmd()) install highlight.js`)
+
+using Franklin
+optimize()