modernize rakefile
This commit is contained in:
parent
760d36766b
commit
495c88ff77
18
Rakefile
18
Rakefile
@ -1,12 +1,5 @@
|
||||
require 'rubygems'
|
||||
require 'bundler'
|
||||
|
||||
Bundler.require(:default)
|
||||
|
||||
$LOAD_PATH << 'lib'
|
||||
|
||||
require 'yaml'
|
||||
require 'apache/config'
|
||||
require 'apache'
|
||||
|
||||
namespace :apache do
|
||||
desc "Generate the configs"
|
||||
@ -25,4 +18,11 @@ task :gem do
|
||||
system %{rm *.gem}
|
||||
system %{gem build apache-config-generator.gemspec}
|
||||
system %{gem install apache-config-generator-*.gem}
|
||||
end
|
||||
end
|
||||
|
||||
require 'rspec/core/rake_task'
|
||||
|
||||
RSpec::Core::RakeTask.new(:spec)
|
||||
|
||||
task :default => :spec
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user