File tree Expand file tree Collapse file tree 6 files changed +39
-21
lines changed
Expand file tree Collapse file tree 6 files changed +39
-21
lines changed Original file line number Diff line number Diff line change @@ -2,19 +2,19 @@ version: 2
22jobs :
33 build :
44 docker :
5- - image : mrkkrp/mk-com:0.1.1
5+ - image : mrkkrp/mk-com:0.2.0
66 steps :
77 - checkout
8- - restore_cache :
9- keys :
10- - stack-home-{{ checksum "stack.yaml" }}
11- - stack-home-
12- - restore_cache :
13- keys :
14- - stack-work-{{ checksum "stack.yaml" }}
15- - stack-work-
16- - run : stack --version
17- - run : stack setup
8+ # - restore_cache:
9+ # keys:
10+ # - stack-home-{{ checksum "stack.yaml" }}
11+ # - stack-home-
12+ # - restore_cache:
13+ # keys:
14+ # - stack-work-{{ checksum "stack.yaml" }}
15+ # - stack-work-
16+ # - run: stack --version
17+ # - run: stack setup
1818 - run : stack build
1919 - run : stack test
2020 - run : stack exec mk-com -- clean
@@ -25,16 +25,16 @@ jobs:
2525 root : ~/project
2626 paths :
2727 - _build
28- - save_cache :
29- key : stack-home-{{ checksum "stack.yaml" }}
30- paths : " ~/.stack"
31- - save_cache :
32- key : stack-work-{{ checksum "stack.yaml" }}
33- paths : " .stack-work"
28+ # - save_cache:
29+ # key: stack-home-{{ checksum "stack.yaml" }}
30+ # paths: "~/.stack"
31+ # - save_cache:
32+ # key: stack-work-{{ checksum "stack.yaml" }}
33+ # paths: ".stack-work"
3434
3535 deploy :
3636 docker :
37- - image : mrkkrp/mk-com:0.1.1
37+ - image : mrkkrp/mk-com:0.2.0
3838 steps :
3939 - attach_workspace :
4040 at : /tmp
Original file line number Diff line number Diff line change @@ -5,7 +5,17 @@ WORKDIR /home/
55ENV PATH /home/circleci/.local/bin:$PATH
66
77RUN sudo apt-get --quiet update
8- RUN sudo apt-get --quiet install python python-pip rsync texlive-latex-base texlive-latex-extra
8+ RUN sudo apt-get --quiet install python python-pip rsync texlive-latex-base texlive-latex-extra libtinfo-dev
99RUN pip install html5validator
1010RUN (curl -sSL https://get.haskellstack.org/ | sh) || true
1111RUN stack upgrade
12+
13+ WORKDIR /home/circleci
14+ RUN git clone https://github.com/mrkkrp/markkarpov.com project
15+ WORKDIR /home/circleci/project
16+ COPY stack.yaml stack.yaml
17+ RUN stack setup
18+ RUN stack build
19+ RUN stack test
20+ WORKDIR /home/circleci
21+ RUN rm -rvf project
Original file line number Diff line number Diff line change 1+ resolver : nightly-2018-05-13
2+ packages :
3+ - ' .'
4+ extra-deps :
5+ - mmark-ext-0.2.1.0
Original file line number Diff line number Diff line change @@ -448,6 +448,7 @@ getPostHelper env path = do
448448 , Ext. mathJax (Just ' $' )
449449 , Ext. obfuscateEmail " protected-email"
450450 , Ext. punctuationPrettifier
451+ , Ext. ghcSyntaxHighlighter
451452 , Ext. skylighting
452453 , Ext. toc " toc" toc
453454 , addTableClasses
Original file line number Diff line number Diff line change 1- resolver : lts-11.0
1+ resolver : nightly-2018-05-13
22packages :
33- ' .'
4+ extra-deps :
5+ - mmark-ext-0.2.1.0
You can’t perform that action at this time.
0 commit comments