Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 1.24 KB

README.md

File metadata and controls

38 lines (26 loc) · 1.24 KB

wei2912.github.io Build and Deploy pre-commit.ci status

This is the source of my personal blog and is where I keep my articles as well as the code of my static site generator, which is based upon Hakyll.

Installation

To build the source, you need Stack. The whole source is in Haskell and the package can be reproducibly built with Stack.

$ stack setup # if you need to set up a GHC environment that is separate from your system
$ stack build

Running

You can use the executable file generated by Stack to perform a wide variety of tasks. For more information, run this command:

$ stack exec blog-src -h

To build the .sass files, you will need to install the Sass executable.

Development

This repository uses pre-commit which will automatically format the codebase.

To set up the Git hooks, run the following command:

$ pre-commit install