Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(151)

Side by Side Diff: documentation/check.sh

Issue 12088091: Remove legacy docs and gallery (Closed) Base URL: http://nativeclient-sdk.googlecode.com/svn/trunk/src
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « documentation/build.scons ('k') | documentation/footer.dox » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/bin/bash
2
3 # simple script to check html via tidy. Either specify html files on
4 # command line or rely on default which checks all html files in
5 # current directory
6 set -o nounset
7 set -o errexit
8
9
10 CheckFile () {
11 echo "========================================"
12 echo "checking $1"
13 echo "========================================"
14 tidy -e -q $1
15 }
16
17
18 if [ $# -eq 0 ] ; then
19 for file in *.html ; do
20 CheckFile ${file}
21 done
22 else
23 for file in $* ; do
24 CheckFile ${file}
25 done
26 fi
OLDNEW
« no previous file with comments | « documentation/build.scons ('k') | documentation/footer.dox » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698