Files
zulip/tools/jslint/check-all
Keegan McAllister 7edfd3458c Add a new tool for running JSLint
(imported from commit 35256825be8793f7e649eb8237111afa05320b32)
2012-10-04 11:04:25 -04:00

12 lines
159 B
Bash
Executable File

#!/bin/sh -e
if which nodejs >/dev/null; then
# Name used by Debian etc.
NODE=nodejs
else
# Name used by upstream
NODE=node
fi
$NODE "$0".js