Skip to content

Commit 0306681

Browse files
author
Adam Simpson
committed
feat: migrate to chroma syntax highlighting
this involves ripping out the python CI work since chroma is distributed as a static binary.
1 parent 5402eb4 commit 0306681

File tree

6 files changed

+7
-10
lines changed

6 files changed

+7
-10
lines changed

.travis.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
language: python
2-
3-
python:
4-
- 3.7
5-
61
dist: xenial
72

83
os:
@@ -11,7 +6,6 @@ os:
116

127
install:
138
- ./ci/install.sh
14-
- pip install -r requirements.txt
159

1610
script:
1711
- make cycle

ci/install.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,6 @@ fi
1212
curl -O "https://beta.quicklisp.org/quicklisp.lisp";
1313
/usr/local/bin/sbcl --non-interactive --load quicklisp.lisp --eval "(quicklisp-quickstart:install :path \"~/quicklisp\")";
1414
/usr/local/bin/sbcl --non-interactive --load ~/quicklisp/setup.lisp --eval "(ql::without-prompting (ql:add-to-init-file))";
15+
16+
# use my fork of 3bmd
17+
git clone --depth 1 "https://github.com/asimpson/3bmd.git" ~/quicklisp/local-projects/3bmd

ci/linux.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
22

33
sudo apt update -qy;
4-
sudo apt install -qy curl python3 zlib1g-dev sbcl build-essential git;
4+
sudo apt install -qy curl zlib1g-dev sbcl build-essential git;
55
git clone --depth 1 -b sbcl-2.0.7 git://git.code.sf.net/p/sbcl/sbcl /tmp/sbcl;
66
cd /tmp/sbcl || exit;
77
sh make.sh --with-sb-core-compression;

cycle.asd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
:description "A opinionated static site builder."
55
:author "Adam Simpson <adam@adamsimpson.net>"
66
:license "GNU GPLv3"
7-
:version "0.2.12"
7+
:version "0.3.0"
88
:serial t
99
:depends-on (
1010
:local-time

cycle.lisp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,8 @@
328328
(setf css (uiop:read-file-string (concat cwd "site.css"))))
329329
(setf mustache:*default-pathname-type* "mustache")
330330
(setf 3bmd-code-blocks:*code-blocks* t)
331-
(setf 3bmd-code-blocks:*renderer* :pygments)
331+
(setf 3bmd-code-blocks:*chroma-style* "dracula")
332+
(setf 3bmd-code-blocks:*renderer* :chroma)
332333
(setf posts (reverse (sort (gen-data)
333334
'sort-by-ids
334335
:key 'car)))

requirements.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)