summaryrefslogtreecommitdiff
path: root/deno2/tools/lint.sh
diff options
context:
space:
mode:
Diffstat (limited to 'deno2/tools/lint.sh')
-rwxr-xr-xdeno2/tools/lint.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/deno2/tools/lint.sh b/deno2/tools/lint.sh
new file mode 100755
index 000000000..8049ff6e0
--- /dev/null
+++ b/deno2/tools/lint.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+cd `dirname "$0"`/..
+set -e
+cpplint *.cc *.h