summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFranck Cuny <fcuny@twitter.com>2016-01-12 19:25:52 -0800
committerFranck Cuny <fcuny@twitter.com>2016-01-12 19:28:09 -0800
commit6454de866fde2576ab5df4b09b58bf6e812a82c6 (patch)
tree7afb1be7bf98ee9fbb33bb98ea1902cf9c2a9046 /Makefile
parentFix the footer on small screen. (diff)
downloadlumberjaph-6454de866fde2576ab5df4b09b58bf6e812a82c6.tar.gz
Add a new target to run some tests.
Update the Makefile with a `test` target so we can check the generated HTML and the internal links. The gem `html-proofer` is also added, and we use it to run the test. Closes #6
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 4dd3acf..3952295 100644
--- a/Makefile
+++ b/Makefile
@@ -9,3 +9,6 @@ server: clean
deps:
bundle install --path vendor/bundle
+
+test: build
+ bundle exec htmlproof ./_site --only-4xx --check-html --disable-external