mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-11 18:32:20 +08:00
8 lines
238 B
Bash
8 lines
238 B
Bash
|
#!/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 coffeelint:target --target "$*" || true
|