When testing on Travis, verify that tools/build was run

This is done by routing the generation of HTML into a temporary directory,
and checking its diff agains the existing public/ when running tests.

Fixes #237
This commit is contained in:
Eli Bendersky
2019-07-01 06:44:09 -07:00
parent 3d55c3ae33
commit fb2c28e58a
4 changed files with 36 additions and 4 deletions

View File

@@ -1,3 +1,3 @@
#!/bin/bash
exec go run tools/generate.go
exec go run tools/generate.go $@