Skip to content

Commit 7105d4d

Browse files
committed
Cleaning up the build
1 parent 3ab7d06 commit 7105d4d

File tree

10 files changed

+721
-178
lines changed

10 files changed

+721
-178
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
# OSX droppings
22
.DS_Store
3+
4+
# Node.js
5+
node_modules/

.travis.yml

Lines changed: 0 additions & 12 deletions
This file was deleted.

Makefile

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,11 @@
22

33
index.html rulebook.pdf: rulebook.md template/page.html
44
# create PDF file
5-
# if bonus.md exists, append it to rulebook.md
6-
[ -f bonus.md ] && cat rulebook.md bonus.md > rulebook.tmp.md || cp rulebook.md rulebook.tmp.md
7-
generate-md --layout template --input rulebook.tmp.md --output .
8-
wkhtmltopdf --enable-local-file-access --disable-smart-shrinking --no-print-media-type --dpi 300 rulebook.tmp.html rulebook.pdf
5+
npm run build
6+
wkhtmltopdf --enable-local-file-access --disable-smart-shrinking --no-print-media-type --dpi 300 rulebook.html rulebook.pdf
97

108
# create web page
11-
mv rulebook.tmp.html index.html
12-
rm -f rulebook.tmp.md
9+
mv rulebook.html index.html
1310

1411
clean:
1512
rm -rf rulebook.pdf

README.html

Whitespace-only changes.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Rules for the Singapore AUV Challenge
77
## Development
88

99
1. Download [wkhtmltopdf](https://github.com/wkhtmltopdf/wkhtmltopdf/releases/tag/0.12.6) version `0.12.6` (with patched Qt)
10-
1. Install [markdown-styles](https://github.com/mixu/markdown-styles)
10+
1. Install [markdown-styles](https://github.com/mixu/markdown-styles) using `npm install`
1111
1. Generate HTML and PDF
1212

1313
```sh

bonus.md

Lines changed: 0 additions & 81 deletions
This file was deleted.

0 commit comments

Comments
 (0)