@@ -19,6 +19,7 @@ RUN stack install --stack-yaml stack.pkg.yaml --only-dependencies \
19 --flag 'pandoc:embed_data_files' \
19 --flag 'pandoc:embed_data_files' \
20 --test --ghc-options '-O2 -optc-Os -optl-static -fPIC' \
20 --test --ghc-options '-O2 -optc-Os -optl-static -fPIC' \
21 pandoc pandoc-citeproc
21 pandoc pandoc-citeproc
22CMD git pull && \
23CMD git pull && \
23 git checkout -b work $TREE && \
24 git checkout -b work $TREE && \
24 export VERSION=`grep '^Version:' pandoc.cabal | awk '{print $$2;}'` && \
25 export VERSION=`grep '^Version:' pandoc.cabal | awk '{print $$2;}'` && \
@@ -26,6 +27,7 @@ CMD git pull && \
26 --local-bin-path /artifacts --flag 'pandoc:embed_data_files' \
27 --local-bin-path /artifacts --flag 'pandoc:embed_data_files' \
27 --test --ghc-options '-O2 -optc-Os -optl-static -fPIC' \
28 --test --ghc-options '-O2 -optc-Os -optl-static -fPIC' \
28 pandoc pandoc-citeproc && \
29 pandoc pandoc-citeproc && \
30+ bash make_deb.sh && \
29 cd /artifacts && \
31 cd /artifacts && \
30 mkdir pandoc-$VERSION && \
32 mkdir pandoc-$VERSION && \
31 mv pandoc pandoc-citeproc pandoc-$VERSION/ && \
33 mv pandoc pandoc-citeproc pandoc-$VERSION/ && \