Commit 808b94d9 authored by nimrod's avatar nimrod
Browse files

Merge branch 'ft/ttyrec'

parents d34fc7d0 638a7979
Loading
Loading
Loading
Loading
+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 \
+1 −0
Original line number Diff line number Diff line
@@ -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

+5 −1
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@
all: presentation.pdf

presentation.pdf: diagram.pdf
presentation.pdf: prompt.gif

%.pdf: %.md
	pandoc -t beamer $< -o $@
@@ -10,5 +11,8 @@ presentation.pdf: diagram.pdf
%.pdf: %.dot
	dot $< -Tpdf > $@

%.gif: %.tty
	ttyrec2gif -in $< -out $@

clean:
	- rm *.pdf
	- rm *.pdf *.gif
+4 −0
Original line number Diff line number Diff line
@@ -13,3 +13,7 @@ author: Your name here
## Diagram

![Diagram](diagram.pdf)

## Animated gif

![Animated gif](prompt.gif)

example/prompt.tty

0 → 100644
+2.27 KiB

File added.

No diff preview for this file type.