File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- FBASE_SNIPPET=test/travis/firebase_init.cc.snip
3
- FBASE_NOAUTH_SNIPPET=test/travis/no_firebase_init.cc.snip
4
- FBASE_NOCONFIG_SNIPPET=test/travis/no_config_init.cc.snip
5
- for example in ` find examples/ -name * .ino` ;
2
+ FBASE_SNIPPET=contrib/ test/travis/firebase_init.cc.snip
3
+ FBASE_NOAUTH_SNIPPET=contrib/ test/travis/no_firebase_init.cc.snip
4
+ FBASE_NOCONFIG_SNIPPET=contrib/ test/travis/no_config_init.cc.snip
5
+ for example in ` find examples/ contrib/examples/ -name * .ino` ;
6
6
do
7
7
echo $example ;
8
8
(xxd -p $example | tr -d ' \n' | grep -q ` xxd -p $FBASE_SNIPPET | tr -d ' \n' ` ) ||
9
9
(xxd -p $example | tr -d ' \n' | grep -q ` xxd -p $FBASE_NOAUTH_SNIPPET | tr -d ' \n' ` ) ||
10
10
(xxd -p $example | tr -d ' \n' | grep -q ` xxd -p $FBASE_NOCONFIG_SNIPPET | tr -d ' \n' ` ) ||
11
11
if [ $? -ne 0 ];
12
12
then
13
- echo $example does not contain standard defined in test/travis/* _init.cc.snip.
13
+ echo $example does not contain standard defined in contrib/ test/travis/* _init.cc.snip.
14
14
exit 1;
15
15
fi ;
16
16
done ;
You can’t perform that action at this time.
0 commit comments