mirror of
https://github.com/kennethreitz/dive-into-python3.git
synced 2026-06-05 23:10:17 +00:00
build fiddling
This commit is contained in:
@@ -64,11 +64,11 @@ echo "Redirect /d/diveintopython3-pdf-latest.zip http://diveintopython3.org/d/di
|
||||
mv "$pdfdir" "$pdfdir".pdf.bak
|
||||
mv build/single.html build/single.html.bak
|
||||
|
||||
echo "linting JS"
|
||||
|
||||
[ -n "$(which js 2>/dev/null)" ] || die "SpiderMonkey (js or js.exe) not found"
|
||||
js_lint_results=`js j/jslint.js < build/j/dip3.js 2>/dev/null`
|
||||
[ "$js_lint_results" = "jslint: No problems found." ] || die "$js_lint_results"
|
||||
#echo "linting JS"
|
||||
#
|
||||
#[ -n "$(which js 2>/dev/null)" ] || die "SpiderMonkey (js or js.exe) not found"
|
||||
#js_lint_results=`js j/jslint.js < build/j/dip3.js 2>/dev/null`
|
||||
#[ "$js_lint_results" = "jslint: No problems found." ] || die "$js_lint_results"
|
||||
|
||||
echo "adding per-page dates"
|
||||
for f in *.html; do
|
||||
|
||||
Reference in New Issue
Block a user