mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-16 23:30:23 +00:00
adding watchr config file watchr.rb
This commit is contained in:
parent
602369c6a2
commit
d4839bac32
1 changed files with 9 additions and 0 deletions
9
watchr.rb
Normal file
9
watchr.rb
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
# config file for watchr http://github.com/mynyml/watchr
|
||||
# install: gem install watchr
|
||||
# run: watch watchr.rb
|
||||
# note: make sure that you have jstd server running (server.sh) and a browser captured
|
||||
|
||||
watch( '(src|test|example)/' ) do
|
||||
%x{ echo "\n\ntest run started @ `date`" > logs/jstd.log; ./test.sh &> logs/jstd.log & }
|
||||
%x{ echo "\n\nlint started @ `date`" > logs/lint.log; rake lint &> logs/lint.log & }
|
||||
end
|
||||
Loading…
Reference in a new issue