projects
/
dygraphs.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Merge pull request #596 from danvk/bower-ignore
[dygraphs.git]
/
scripts
/
check-no-only.sh
1
#!/bin/bash
2
# Checks that no ".only" has made it into tests. This should never be commited,
3
# since it will disable the vast majority of tests.
4
5
if
grep
-
R
'\.only('
auto_tests
/
tests
;
then
6
echo
'Remove .only from tests before committing.'
7
exit
1
8
fi
9
10
exit
0