mirror of
https://github.com/seigler/dash-docs
synced 2025-07-26 17:26:12 +00:00
Add JSHint checks to the Makefile
This commit is contained in:
parent
cf11cc8240
commit
41195a982d
5 changed files with 134 additions and 1 deletions
6
Makefile
6
Makefile
|
@ -62,7 +62,8 @@ post-build-tests-fast: check-for-build-errors ensure-each-svg-has-a-png check-fo
|
|||
check-for-missing-anchors check-for-broken-markdown-reference-links \
|
||||
check-for-broken-kramdown-tables check-for-duplicate-header-ids \
|
||||
check-for-headers-containing-auto-link check-for-missing-subhead-links \
|
||||
check-for-subheading-anchors
|
||||
check-for-subheading-anchors \
|
||||
check-jshint
|
||||
|
||||
## All pre-build tests, including those which might take multiple minutes
|
||||
pre-build-tests: pre-build-tests-fast
|
||||
|
@ -248,6 +249,9 @@ check-for-broken-bitcoin-core-download-links:
|
|||
check-html-proofer:
|
||||
$S bundle exec ruby _contrib/bco-htmlproof
|
||||
|
||||
check-jshint:
|
||||
$S bundle exec ruby _contrib/jshint | eval $(ERROR_ON_OUTPUT)
|
||||
|
||||
check-bundle:
|
||||
## Ensure all the dependencies are installed. If you build without this
|
||||
## check, you'll get confusing error messages when your deps aren't up
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue