Loading Dockerfile +4 −4 Original line number Diff line number Diff line FROM golang:1.11-alpine3.8 as on-change FROM golang:1.11-alpine3.8 as golang RUN apk --update add git && \ rm -rf /var/cache/apk/* && \ /usr/local/go/bin/go get github.com/spelufo/on-change /usr/local/go/bin/go get github.com/spelufo/on-change && \ /usr/local/go/bin/go get github.com/sugyan/ttyrec2gif FROM debian:buster-slim COPY --from=on-change /go/bin/on-change /usr/local/bin COPY --from=golang /go/bin/on-change /go/bin/ttyrec2gif /usr/local/bin/ RUN apt-get update && \ DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ fonts-font-awesome \ Loading README.md +1 −0 Original line number Diff line number Diff line Loading @@ -23,6 +23,7 @@ See the example folder for more details. - [XeTex](http://xetex.sourceforge.net/) - [on-change](https://github.com/spelufo/on-change) - [groff](https://www.gnu.org/software/groff/) - [ttyrec2gif](https://github.com/sugyan/ttyrec2gif) ## License Loading example/Makefile +5 −1 Original line number Diff line number Diff line Loading @@ -3,6 +3,7 @@ all: presentation.pdf presentation.pdf: diagram.pdf presentation.pdf: prompt.gif %.pdf: %.md pandoc -t beamer $< -o $@ Loading @@ -10,5 +11,8 @@ presentation.pdf: diagram.pdf %.pdf: %.dot dot $< -Tpdf > $@ %.gif: %.tty ttyrec2gif -in $< -out $@ clean: - rm *.pdf - rm *.pdf *.gif example/presentation.md +4 −0 Original line number Diff line number Diff line Loading @@ -13,3 +13,7 @@ author: Your name here ## Diagram  ## Animated gif  example/prompt.tty 0 → 100644 +2.27 KiB File added.No diff preview for this file type. View file Loading
Dockerfile +4 −4 Original line number Diff line number Diff line FROM golang:1.11-alpine3.8 as on-change FROM golang:1.11-alpine3.8 as golang RUN apk --update add git && \ rm -rf /var/cache/apk/* && \ /usr/local/go/bin/go get github.com/spelufo/on-change /usr/local/go/bin/go get github.com/spelufo/on-change && \ /usr/local/go/bin/go get github.com/sugyan/ttyrec2gif FROM debian:buster-slim COPY --from=on-change /go/bin/on-change /usr/local/bin COPY --from=golang /go/bin/on-change /go/bin/ttyrec2gif /usr/local/bin/ RUN apt-get update && \ DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ fonts-font-awesome \ Loading
README.md +1 −0 Original line number Diff line number Diff line Loading @@ -23,6 +23,7 @@ See the example folder for more details. - [XeTex](http://xetex.sourceforge.net/) - [on-change](https://github.com/spelufo/on-change) - [groff](https://www.gnu.org/software/groff/) - [ttyrec2gif](https://github.com/sugyan/ttyrec2gif) ## License Loading
example/Makefile +5 −1 Original line number Diff line number Diff line Loading @@ -3,6 +3,7 @@ all: presentation.pdf presentation.pdf: diagram.pdf presentation.pdf: prompt.gif %.pdf: %.md pandoc -t beamer $< -o $@ Loading @@ -10,5 +11,8 @@ presentation.pdf: diagram.pdf %.pdf: %.dot dot $< -Tpdf > $@ %.gif: %.tty ttyrec2gif -in $< -out $@ clean: - rm *.pdf - rm *.pdf *.gif
example/presentation.md +4 −0 Original line number Diff line number Diff line Loading @@ -13,3 +13,7 @@ author: Your name here ## Diagram  ## Animated gif 