mirror of
https://github.com/onkelbeh/cheatsheets.git
synced 2026-08-16 14:04:47 +02:00
Add rudimentary tests
This commit is contained in:
5
.travis.yml
Normal file
5
.travis.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
language: ruby
|
||||
rvm:
|
||||
- 2.4.2
|
||||
script:
|
||||
- make test
|
||||
8
Makefile
8
Makefile
@@ -27,3 +27,11 @@ dev-jekyll:
|
||||
else \
|
||||
bundle exec jekyll serve --safe --trace --drafts --watch --port $(PORT); \
|
||||
fi
|
||||
|
||||
test: _site
|
||||
@test -f _site/vim.html
|
||||
@test -f _site/react.html
|
||||
@test -f _site/index.html
|
||||
@grep "<script src" _site/index.html >/dev/null
|
||||
@grep "<script src" _site/vim.html >/dev/null
|
||||
@grep "<script src" _site/react.html >/dev/null
|
||||
|
||||
Reference in New Issue
Block a user