Navigation Menu

Skip to content

Commit

Permalink
cleanup Rakefile and tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
grosser committed Nov 10, 2011
1 parent 170ba9d commit d2c4812
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 24 deletions.
2 changes: 2 additions & 0 deletions Gemfile.lock
Expand Up @@ -11,6 +11,7 @@ GEM
specs:
colorize (0.5.8)
diff-lcs (1.1.3)
rake (0.9.2.2)
rr (1.0.4)
rspec (2.6.0)
rspec-core (~> 2.6.0)
Expand All @@ -26,3 +27,4 @@ PLATFORMS

DEPENDENCIES
abcrunch!
rake
10 changes: 4 additions & 6 deletions Rakefile
@@ -1,10 +1,8 @@
require "bundler/gem_tasks"

Dir[File.join(File.dirname(__FILE__), "lib/**/*.rb")].each { |f| require f }
Dir[File.join(File.dirname(__FILE__), "lib/**/*.rake")].each { |task| load(task) }

Dir[File.join(File.dirname(__FILE__), "lib/**/*.rake")].
concat(Dir[File.join(File.dirname(__FILE__), "spec/tasks/**/*.rake")]).
concat(Dir[File.join(File.dirname(__FILE__), "tasks/**/*.rake")]).
concat(Dir[File.join(File.dirname(__FILE__), "{test,spec}/*.rake")]).each { |rake| load(rake) }

task default: [:spec]
task :default do
sh "rspec spec -fs"
end
4 changes: 1 addition & 3 deletions abcrunch.gemspec
Expand Up @@ -30,7 +30,5 @@ DESC
s.add_runtime_dependency "rr"
s.add_runtime_dependency "colorize"

# specify any dependencies here; for example:
# s.add_development_dependency "rspec"
# s.add_runtime_dependency "rest-client"
s.add_development_dependency "rake"
end
15 changes: 0 additions & 15 deletions spec/tasks/spec.rake

This file was deleted.

0 comments on commit d2c4812

Please sign in to comment.