File tree Expand file tree Collapse file tree 4 files changed +23
-2
lines changed
Expand file tree Collapse file tree 4 files changed +23
-2
lines changed Original file line number Diff line number Diff line change 11node_modules /
22coverage /
3+ .env
Original file line number Diff line number Diff line change 11
2- test : node_modules
2+ test : node_modules .env
33 npm test
44
55coverage : coverage/lcov.info
@@ -10,7 +10,25 @@ coveralls: coverage/lcov.info
1010
1111.PHONY : test coverage coveralls
1212
13- coverage/lcov.info : node_modules package.json oauth-1.0a.js test/* .js test/** /* .js test/mocha.opts
13+ .env :
14+ @echo " BITBUCKET_CONSUMER_PUBLIC=" > $@
15+ @echo " BITBUCKET_CONSUMER_SECRET=" >> $@
16+ @echo " " >> $@
17+ @echo " FLICKR_CONSUMER_key=" >> $@
18+ @echo " FLICKR_CONSUMER_SECRET=" >> $@
19+ @echo " " >> $@
20+ @echo " LINKEDIN_CONSUMER_PUBLIC=" >> $@
21+ @echo " LINKEDIN_CONSUMER_SECRET=" >> $@
22+ @echo " " >> $@
23+ @echo " OPENBANK_CONSUMER_PUBLIC=" >> $@
24+ @echo " OPENBANK_CONSUMER_SECRET=" >> $@
25+ @echo " " >> $@
26+ @echo " TWITTER_CONSUMER_PUBLIC=" >> $@
27+ @echo " TWITTER_CONSUMER_SECRET=" >> $@
28+ @echo " TWITTER_TOKEN_PUBLIC=" >> $@
29+ @echo " TWITTER_TOKEN_SECRET=" >> $@
30+
31+ coverage/lcov.info : node_modules package.json oauth-1.0a.js .env test/* .js test/** /* .js test/mocha.opts
1432 node_modules/.bin/istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly
1533
1634node_modules : package.json
Original file line number Diff line number Diff line change 2222 "devDependencies" : {
2323 "chai" : " ^4.1.2" ,
2424 "coveralls" : " ^3.0.0" ,
25+ "dotenv" : " ^4.0.0" ,
2526 "istanbul" : " ^0.4.5" ,
2627 "mocha" : " ^4.0.1" ,
2728 "request" : " ~2.33.0"
Original file line number Diff line number Diff line change 11--recursive
22--reporter spec
3+ --require dotenv/config
34--slow 1
You can’t perform that action at this time.
0 commit comments