GetGoing/build.sh

30 lines
554 B
Bash
Raw Normal View History

2019-10-28 22:20:15 +00:00
#!/bin/sh
files='
src/title.md
CHANGELOG.md
2019-10-28 22:38:30 +00:00
src/intro.md
2019-10-28 22:20:15 +00:00
src/1-hello-world.md
src/2-data-tyes.md
src/3-slices-maps.md
src/4-control-structures.md
src/5-functions.md
src/6-structures.md
2019-10-28 22:40:16 +00:00
src/7-interfaces.md
2019-10-28 22:38:30 +00:00
src/8-http.md
src/9-testing.md
src/10-cli-app.md
src/11-repo-hygiene.md
src/12-go-modules.md
src/13-wiki.md
src/14-webapp-abstractions.md
src/15-conclusion.md
2019-10-28 22:40:16 +00:00
src/bonus-battlesnake.md
2019-10-28 22:20:15 +00:00
src/GReeTZ.md
src/other_work_by_the_author.md
'
2019-10-28 22:40:16 +00:00
rev=$(git rev-parse --short HEAD)
2019-10-28 22:20:15 +00:00
2019-10-28 22:38:30 +00:00
pandoc -o getgoing-${rev}.epub $files