Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 49 lines (37 sloc) 1.406 kB
8135885 @sferik Refactor build system
sferik authored
1 $:.unshift File.expand_path('..', __FILE__)
2 require 'tasks/all'
5a0c7f7 Initial commit to rack-oauthable.
Michael Bleigh authored
3
8135885 @sferik Refactor build system
sferik authored
4 desc 'Clean up temporary files'
5 task :clean => 'all:clean'
4495e43 Versioning will now be lockstep, bumped to 0.0.3
Michael Bleigh authored
6
8135885 @sferik Refactor build system
sferik authored
7 desc 'Build gem files for all projects into the package directory'
8 task :build => 'all:build'
1d100ab @sferik New versioning system to support testing on http://test.rubygems.org/
sferik authored
9
8135885 @sferik Refactor build system
sferik authored
10 desc 'Build and install gems for all projects'
11 task :install => 'all:install'
1d100ab @sferik New versioning system to support testing on http://test.rubygems.org/
sferik authored
12
8135885 @sferik Refactor build system
sferik authored
13 desc 'Write version with MAJOR, MINOR, PATCH, and PRE environment variables'
14 task 'version:write' => 'all:version:write'
1d100ab @sferik New versioning system to support testing on http://test.rubygems.org/
sferik authored
15
8135885 @sferik Refactor build system
sferik authored
16 desc 'Display the current version for all projects'
17 task :version => 'all:version'
18 desc 'Increment the major version for all projects'
19 task 'version:bump:major' => 'all:version:bump:major'
20 desc 'Increment the minor version for all projects'
21 task 'version:bump:minor' => 'all:version:bump:minor'
22 desc 'Increment the patch version for all projects'
23 task 'version:bump:patch' => 'all:version:bump:patch'
ceaf84a @sferik Fix release task
sferik authored
24
8135885 @sferik Refactor build system
sferik authored
25 desc 'Run specs for all projects'
26 task :spec => 'all:spec'
27 task :test => :spec
28 task :default => :test
f9dc9ea Adds lots of stuff. Facebook is broken, beware.
Michael Bleigh authored
29
8135885 @sferik Refactor build system
sferik authored
30 desc 'Generate docs for all projects'
31 task 'doc:yard' => 'all:doc:yard'
ceaf84a @sferik Fix release task
sferik authored
32
33 task :tag do
8135885 @sferik Refactor build system
sferik authored
34 sh "git tag -a -m \"Version #{version}\" v#{version}"
35 sh "git push"
36 sh "git push --tags"
ceaf84a @sferik Fix release task
sferik authored
37 end
a6e1de9 Adding documentation and release tasks to Rakefile
Michael Bleigh authored
38
8135885 @sferik Refactor build system
sferik authored
39 desc 'Build, tag, and push gems for all projects to Rubygems'
40 task :release => [:build, :tag, :push]
a6e1de9 Adding documentation and release tasks to Rakefile
Michael Bleigh authored
41
1d100ab @sferik New versioning system to support testing on http://test.rubygems.org/
sferik authored
42 namespace :doc do
a6e1de9 Adding documentation and release tasks to Rakefile
Michael Bleigh authored
43 require 'yard'
1d100ab @sferik New versioning system to support testing on http://test.rubygems.org/
sferik authored
44 YARD::Rake::YardocTask.new do |task|
8135885 @sferik Refactor build system
sferik authored
45 task.files = PROJECTS.map{|project| "#{root}/#{project}/lib/**/*.rb"} + ['README.markdown', 'LICENSE']
a6e1de9 Adding documentation and release tasks to Rakefile
Michael Bleigh authored
46 end
9fc82c7 Adds oa-more to root Rake tasks, makes specs ready to run
Michael Bleigh authored
47 end
8135885 @sferik Refactor build system
sferik authored
48
Something went wrong with that request. Please try again.