File tree 6 files changed +39
-21
lines changed
6 files changed +39
-21
lines changed Original file line number Diff line number Diff line change @@ -2,19 +2,19 @@ version: 2
2
2
jobs :
3
3
build :
4
4
docker :
5
- - image : mrkkrp/mk-com:0.1.1
5
+ - image : mrkkrp/mk-com:0.2.0
6
6
steps :
7
7
- 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
18
18
- run : stack build
19
19
- run : stack test
20
20
- run : stack exec mk-com -- clean
@@ -25,16 +25,16 @@ jobs:
25
25
root : ~/project
26
26
paths :
27
27
- _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"
34
34
35
35
deploy :
36
36
docker :
37
- - image : mrkkrp/mk-com:0.1.1
37
+ - image : mrkkrp/mk-com:0.2.0
38
38
steps :
39
39
- attach_workspace :
40
40
at : /tmp
Original file line number Diff line number Diff line change @@ -5,7 +5,17 @@ WORKDIR /home/
5
5
ENV PATH /home/circleci/.local/bin:$PATH
6
6
7
7
RUN 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
9
9
RUN pip install html5validator
10
10
RUN (curl -sSL https://get.haskellstack.org/ | sh) || true
11
11
RUN 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
448
448
, Ext. mathJax (Just ' $' )
449
449
, Ext. obfuscateEmail " protected-email"
450
450
, Ext. punctuationPrettifier
451
+ , Ext. ghcSyntaxHighlighter
451
452
, Ext. skylighting
452
453
, Ext. toc " toc" toc
453
454
, addTableClasses
Original file line number Diff line number Diff line change 1
- resolver : lts-11.0
1
+ resolver : nightly-2018-05-13
2
2
packages :
3
3
- ' .'
4
+ extra-deps :
5
+ - mmark-ext-0.2.1.0
You can’t perform that action at this time.
0 commit comments