Blog for ARoW.info
This is the blog for ARoW.info. It is built with
Hakyll. The Makefile
contains some
simple targets for building the site. In order to use the targets in the
Makefile, it is assumed that the stack
build tool is installed.
stack
can be installed by following the directions from the stack
README. Once stack
is installed on your PATH
, the following Makefile targets can be used.
$ make site
Build the HTML for the actual site. Generated HTML is placed under generated-site/
.
$ make watch
Run a test webserver that will serve our blog content. If the content is changed, it will automatically be rebuilt and you will be able to see the changes live.
$ make clean
Cleans out all generated files (such as generated-site/
and .hakyll-cache/
). Also runs
stack clean
.
$ make deploy
First generates the site, then commits the generated files to the gh-pages
branch. This is kind of hacky, but it seems to mostly work.