-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sh
executable file
·26 lines (19 loc) · 872 Bytes
/
build.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/bash
cat build.sh
echo "##########################################################################"
# Resume Build script #
echo "cleanup (remove cv folders content)"
rm -rf private/cv
rm cv/*
mkdir -p private/cv
echo "export html"
cat data/header.md data/content.md > cv/2016_Denis_Laliberte_.md
pandoc --template=template/initializr.html data/content.md -o cv/index.html
pandoc --template=template/initializr.html data/index.md -o index.html
echo "export pdf"
pandoc cv/2016_Denis_Laliberte_.md -o cv/2016_Denis_Laliberte_.pdf
echo "export private pdf"
cat private/header.md data/content.md > private/cv/2016_Denis_Laliberte_.md
pandoc private/cv/2016_Denis_Laliberte_.md -o private/cv/2016_Denis_Laliberte_.pdf
echo "export reamde for github"
cat data/readme-header.md data/content.md > README.md