mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-12-27 10:33:56 +08:00
7bd3f7ac78
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
|