mirror of
https://github.com/status-im/EIPs.git
synced 2025-02-23 12:18:16 +00:00
* switch to eipv * fix * fix * 1153 remove trailing whitespace * remove file name checks * 615 remo whitespace before comma * 884 remove extra single-quotes * 1337 remove whitespace before comma * 1057 remove extra spaces after comma * 2470 update created date to Y/M/D format * 1078 update required eips to be in ascending order * 2477 update required eips to be in ascending order * 1271 remove extra whitespace * 2767 required eipupdated to be in ascending order * 2525 update created date to Y/M/D format * 2458 remove trailing whitespace * 1884 remove trailing whitespace * 712 authors should be on a single line * 601 remove extra whitespace * 1485 remove unneeded parentheses * 634 remove trailing whitespace * 2657 update discussions-to to correct spelling * 2009 remove trailing whitespace * 998 required eips updated to be in ascending order * 1186 remove trailing whitespace * 1470 remove extra whitespace * 1895 update created date to Y/M/D format * 2747 remove extra whitespace * 1613 remove leading whitespace * 1571 can'have both handle and email in author field * 1191 remove trailing whitespace * 1973 remove trailing whitespace * 196 don't wrap title field * 1679 required eips must be in ascending order * 1620 author can't have both handle and email * 197 don't line wrap title field * 2378 remove extra newline * 1355 author can't have both handle and email * 698 update created date to Y/M/D format * 2193 required eips must be in ascending order * 214 remove extra info after author email * use v0.0.3 of eipv * 1 remove malformed field * bump eipv to v0.0.4 * cache eipv build * 1485 remove extra author info * 2771 removing extra whitespaces
22 lines
928 B
Bash
Executable File
22 lines
928 B
Bash
Executable File
#!/bin/bash
|
|
set -e # halt script on error
|
|
|
|
HTMLPROOFER_OPTIONS="./_site --internal-domains=eips.ethereum.org --check-html --check-opengraph --report-missing-names --log-level=:debug --assume-extension --empty-alt-ignore --timeframe=6w --url-ignore=/EIPS/eip-1,EIPS/eip-1,/EIPS/eip-107,/EIPS/eip-858"
|
|
|
|
if [[ $TASK = 'htmlproofer' ]]; then
|
|
bundle exec jekyll doctor
|
|
bundle exec jekyll build
|
|
bundle exec htmlproofer $HTMLPROOFER_OPTIONS --disable-external
|
|
|
|
# Validate GH Pages DNS setup
|
|
bundle exec github-pages health-check
|
|
elif [[ $TASK = 'htmlproofer-external' ]]; then
|
|
bundle exec jekyll doctor
|
|
bundle exec jekyll build
|
|
bundle exec htmlproofer $HTMLPROOFER_OPTIONS --external_only
|
|
elif [[ $TASK = 'eip-validator' ]]; then
|
|
eipv EIPS/ --ignore=title_max_length,missing_discussions_to --skip=eip-20-token-standard.md
|
|
elif [[ $TASK = 'codespell' ]]; then
|
|
codespell -q4 -I .codespell-whitelist eip-X.md EIPS/
|
|
fi
|