Permalink
Browse files

Re-added licence

  • Loading branch information...
1 parent 8846abb commit d5085d55e1c6816c397acf44cb0017a1603311a1 @delano committed Jul 18, 2010
Showing with 19 additions and 35 deletions.
  1. +19 −0 LICENSE.txt
  2. +0 −35 specs.watchr
View
@@ -0,0 +1,19 @@
+Copyright (c) 2010 Solutious Inc, Delano Mandelbaum
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
View
@@ -1,35 +0,0 @@
-# Run me with:
-#
-# $ watchr specs.watchr
-
-# --------------------------------------------------
-# Helpers
-# --------------------------------------------------
-def run(cmd)
- puts(cmd)
- system(cmd)
-end
-
-def run_all_tests
- # see Rakefile for the definition of the test:all task
- system( "rake -s test:all VERBOSE=true" )
-end
-
-# --------------------------------------------------
-# Watchr Rules
-# --------------------------------------------------
-watch( '^test/test_.*\.rb' ) { |m| run( "ruby -rubygems -Ilib %s" % m[0] ) }
-watch( '^lib/(.*)\.rb' ) { |m| run( "ruby -rubygems -Ilib test/test_%s.rb" % m[1] ) }
-
-# --------------------------------------------------
-# Signal Handling
-# --------------------------------------------------
-# Ctrl-\
-Signal.trap('QUIT') do
- puts " --- Running all tests ---\n\n"
- run_all_tests
-end
-
-# Ctrl-C
-Signal.trap('INT') { abort("\n") }
-

0 comments on commit d5085d5

Please sign in to comment.