Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

38 lines (28 sloc) 0.838 kB
require "rubygems"
require "bundler/setup"
require "rspec/core/rake_task"
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "nginx_extra"
task :default => :update
RSpec::Core::RakeTask.new
namespace :update do
desc "Updates project code with git"
task :code do
raise "Could not update git code" unless system "git pull --rebase"
end
namespace :package do
desc "Updates stable package"
task :stable do
NginxExtra.update! :stable
end
desc "Updates development package"
task :development do
NginxExtra.update! :development
end
end
desc "Updates PKGBUILD files"
task :package => ["update:package:stable", "update:package:development"]
end
desc "Updates code and packages"
task :update => ["update:code", "update:package"]
Jump to Line
Something went wrong with that request. Please try again.