Mailspring/script/lint.sh
Evan Morikawa 57fc6d61e5 update linter to look at all less files
Test Plan: script/grunt lint

Reviewers: bengotow

Reviewed By: bengotow

Differential Revision: https://phab.nylas.com/D1549
2015-05-21 14:50:40 -07:00

7 lines
232 B
Bash
Executable file

#!/bin/bash
# This is invoked by 'arc lint', see .arcconfig.
GO=0
if [ ${1##*.} == "coffee" ]; then GO=1; fi
if [ ${1##*.} == "cjsx" ]; then GO=1; fi
if [ $GO != "1" ]; then exit 0; fi
script/grunt lint:target --target "$*" || true