Rakefile in fourchette-0.0.0 vs Rakefile in fourchette-0.0.1
- old
+ new
@@ -1,15 +1,30 @@
-require "bundler/gem_tasks"
+require "fourchette/rake_tasks"
+
+begin
+ require 'rspec/core/rake_task'
+ # Set default Rake task to spec
+ RSpec::Core::RakeTask.new(:spec)
+ task :default => :spec
+rescue LoadError => ex
+ # That's ok, it just means we don't have RSpec loaded
+end
+
+desc 'Brings up a REPL with the code loaded'
+task :console do
+ require './lib/fourchette'
+ Pry.start
+end
\ No newline at end of file