Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 22 lines (17 sloc) 0.37 kb
8e30d24 @jeremyevans Initial import
authored
1 require "rake"
2 require "rake/clean"
3
f3714cc @jeremyevans Switch to using rake-compiler
authored
4 CLEAN.include %w'**.rbc rdoc'
8e30d24 @jeremyevans Initial import
authored
5
1ec92ab @jeremyevans Add a cross compiling gem and distclean task
authored
6 desc "Do a full cleaning"
7 task :distclean do
b317ac7 @jeremyevans Add major speedup to Dataset#map, #to_hash, #select_map, #select_order_m...
authored
8 CLEAN.include %w'tmp pkg sequel_pg*.gem lib/*.so'
1ec92ab @jeremyevans Add a cross compiling gem and distclean task
authored
9 Rake::Task[:clean].invoke
10 end
11
175424d @jeremyevans Add a gemspec and gem task to build the gem
authored
12 desc "Build the gem"
13 task :gem do
14 sh %{gem build sequel_pg.gemspec}
15 end
16
1ec92ab @jeremyevans Add a cross compiling gem and distclean task
authored
17 begin
f3714cc @jeremyevans Switch to using rake-compiler
authored
18 require 'rake/extensiontask'
19 Rake::ExtensionTask.new('sequel_pg')
1ec92ab @jeremyevans Add a cross compiling gem and distclean task
authored
20 rescue LoadError
21 end
Something went wrong with that request. Please try again.