Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 26 lines (19 sloc) 0.452 kb
6134e43 @kevwil sync with main repo, tweak rakefile(s) again for better win32 gem, need ...
kevwil authored
1 require 'rake'
5a78d69 @David-Smyth Fix Rakefile to prevent 'uninitialized constant CLEAN'
David-Smyth authored
2 require 'rake/clean'
f6184c5 @macournoyer Add .gemspec.
authored
3 load 'thin.gemspec'
34a5aac @kevwil a better sync with the main repo, change to unified Rakefile
kevwil authored
4
9d4f025 @macournoyer Replace custom extension tasks w/ rake-compiler
authored
5 # Load tasks in tasks/
6134e43 @kevwil sync with main repo, tweak rakefile(s) again for better win32 gem, need ...
kevwil authored
6 Dir['tasks/**/*.rake'].each { |rake| load rake }
348931b Add rake task to create gem
macournoyer authored
7
d50a45e @macournoyer Improve specs stability.
authored
8 task :default => :spec
59a972c @macournoyer A couple refactorings in rake tasks.
authored
9
f6184c5 @macournoyer Add .gemspec.
authored
10 desc "Build gem packages"
11 task :build do
12 sh "gem build thin.gemspec"
9d4f025 @macournoyer Replace custom extension tasks w/ rake-compiler
authored
13 end
4ad001c @macournoyer Make cross compiling to win32 work under OS X, w00t!
authored
14
f6184c5 @macournoyer Add .gemspec.
authored
15 desc "Push gem packages"
16 task :push => :build do
17 sh "gem push thin-*.gem"
85e9ef5 @macournoyer Support multiple Ruby version (fat binaries under windows)
authored
18 end
19
831bdfe @macournoyer Add install task.
authored
20 task :install => :build do
21 sh "gem install thin-*.gem"
22 end
23
f6184c5 @macournoyer Add .gemspec.
authored
24 desc "Release version #{Thin::VERSION::STRING}"
5a78d69 @David-Smyth Fix Rakefile to prevent 'uninitialized constant CLEAN'
David-Smyth authored
25 task :release => [:tag, :push]
Something went wrong with that request. Please try again.