Rakefile in balanced-0.8.2 vs Rakefile in balanced-1.0.beta1
- old
+ new
@@ -4,26 +4,12 @@
require "rspec/core/rake_task"
require "bundler/gem_tasks"
require 'rspec'
desc "Run spec suite"
-RSpec::Core::RakeTask.new(:spec) { |t| }
+RSpec::Core::RakeTask.new(:spec) do |task|
+ file_list = FileList['spec/**/*_spec.rb']
+ task.pattern = file_list
+end
desc "Default the task to run the spec"
task :default => [:spec]
-
-desc "Render template files"
-task :render_executables do
- ruby File.dirname(__FILE__) + "/scenarios/render.rb"
-end
-
-desc "delete executables"
-task :delete_executables do
- ruby File.dirname(__FILE__) + "/scenarios/delete.rb"
-end
-
-desc "render one template file"
-task :render_one, :name do
- name = ENV['NAME']
- file = File.dirname(__FILE__) + "/scenarios/render_one.rb"
- ruby file, name
-end