From 775552293cbb299bd95f2cfd8b7481820ba32385 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sun, 6 Oct 2019 19:05:04 -0700 Subject: [PATCH] Use Cask to run Emacs --- .gitlab-ci.yml | 2 ++ Cask | 5 +++++ GNUmakefile | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 Cask diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 081b8db..812b0a9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,6 +6,8 @@ stages: build-html: stage: build + before_script: + cask install script: make html artifacts: diff --git a/Cask b/Cask new file mode 100644 index 0000000..eccb27c --- /dev/null +++ b/Cask @@ -0,0 +1,5 @@ +(source gnu) +(source melpa) +(source org) + +(depends-on "org-plus-contrib") diff --git a/GNUmakefile b/GNUmakefile index ff308af..b20b224 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -7,7 +7,7 @@ html: public_html/index.html css: public_html/assets/css/main.css public_html/%.html: %.org - emacs -batch \ + cask emacs -batch \ -funcall package-initialize \ -load project-config.el \ -funcall publish-ryuslash.org