mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-11 10:12:00 +08:00
57fc6d61e5
Test Plan: script/grunt lint Reviewers: bengotow Reviewed By: bengotow Differential Revision: https://phab.nylas.com/D1549
7 lines
232 B
Bash
Executable file
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
|