Skip to content

Commit 586abc3

Browse files
committed
Include bundler/gem_tasks
1 parent 0ef8a70 commit 586abc3

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

Rakefile

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,8 @@
1-
desc "Build the gem"
2-
task :gem do
3-
sh "bundle exec gem build motion-sparkle-sandbox.gemspec"
4-
sh "mkdir -p pkg"
5-
sh "mv *.gem pkg/"
6-
end
7-
task :build => :gem
8-
9-
desc "Clear gem builds"
10-
task :clean do
11-
FileUtils.rm_rf 'pkg'
12-
FileUtils.rm_rf 'tmp'
13-
end
14-
task :clear => :clean
1+
require 'bundler/gem_tasks'
152

163
desc "Run all the specs"
174
task :spec do
185
sh "bundle exec bacon -q #{FileList['spec/*_spec.rb'].join(' ')}"
196
end
207
task :default => :spec
8+
task :test => :spec

0 commit comments

Comments
 (0)