Skip to content

Commit

Permalink
Rakefile update
Browse files Browse the repository at this point in the history
  • Loading branch information
mensfeld committed Jul 8, 2015
1 parent d04da7d commit fa8f0b0
Showing 1 changed file with 5 additions and 21 deletions.
26 changes: 5 additions & 21 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,35 +1,19 @@
# encoding: utf-8

require 'rubygems'
require 'bundler'
require 'rake'
require 'rspec/core'
require 'rspec/core/rake_task'

begin
Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
$stderr.puts e.message
$stderr.puts "Run `bundle install` to install missing gems"
exit e.status_code
end
require 'rake'

require 'jeweler'
Jeweler::Tasks.new do |gem|
# gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
gem.name = "aspector"
gem.homepage = "http://github.com/gcao/aspector"
gem.license = "MIT"
gem.summary = %Q{Aspect Oriented Ruby Programming}
gem.description = %Q{}
gem.email = "gcao99@gmail.com"
gem.authors = ["Guoliang Cao"]
# dependencies defined in Gemfile
end
Jeweler::RubygemsDotOrgTasks.new

require 'rspec/core'
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec) do |spec|
spec.pattern = FileList['spec/**/*_spec.rb']
end

task :default => :spec

task default: :spec

0 comments on commit fa8f0b0

Please sign in to comment.