Browse files

Guardify

  • Loading branch information...
1 parent a119e70 commit 74bccddc4400c8a818d9108449323d0e33abd8d4 @Fluxx committed Nov 30, 2012
Showing with 38 additions and 1 deletion.
  1. +8 −0 Gemfile
  2. +21 −0 Gemfile.lock
  3. +5 −0 Guardfile
  4. +4 −1 Makefile
View
8 Gemfile
@@ -0,0 +1,8 @@
+source :rubygems
+
+group :development do
+ gem 'guard', '1.4.0'
+ gem 'rb-readline'
+ gem 'rb-fsevent', :require => false
+ gem 'guard-shell'
+end
View
21 Gemfile.lock
@@ -0,0 +1,21 @@
+GEM
+ remote: http://rubygems.org/
+ specs:
+ guard (1.4.0)
+ listen (>= 0.4.2)
+ thor (>= 0.14.6)
+ guard-shell (0.5.1)
+ guard (>= 1.1.0)
+ listen (0.5.3)
+ rb-fsevent (0.9.2)
+ rb-readline (0.4.2)
+ thor (0.16.0)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ guard (= 1.4.0)
+ guard-shell
+ rb-fsevent
+ rb-readline
View
5 Guardfile
@@ -0,0 +1,5 @@
+guard :shell do
+ watch(/^(tests|exam)(.*)\.py$/) do |match|
+ puts `python setup.py nosetests`
+ end
+end
View
5 Makefile
@@ -8,4 +8,7 @@ release:
git push origin $(VERSION)
python setup.py sdist upload
-.PHONY: test release
+watch:
+ bundle exec guard
+
+.PHONY: test release watch

0 comments on commit 74bccdd

Please sign in to comment.