Sha256: f11e766d1198e3d1b9a3f89c90a13d2c07f0617c31654736eea3eaaf584db0b7
Contents?: true
Size: 1.43 KB
Versions: 1
Compression:
Stored size: 1.43 KB
Contents
require 'rubygems' require 'rake' require 'spec/rake/spectask' require 'rake/rdoctask' begin require 'jeweler' Jeweler::Tasks.new do |gemspec| gemspec.name = 'rlibsphinxclient' gemspec.summary = 'A Ruby wrapper for pure C searchd client API library.' gemspec.email = 'kpumuk@kpumuk.info' gemspec.homepage = 'http://github.com/kpumuk/rlibsphinxclient' gemspec.author = 'Dmytro Shteflyuk' gemspec.extensions = ['ext/extconf.rb'] end Jeweler::GemcutterTasks.new rescue LoadError puts 'Jeweler not available. Install it with: sudo gem install jeweler -s http://gemcutter.org' end desc 'Update SWIG wrapper for pure C searchd client API library' task :swig do system 'cd ext && swig -I/opt/local/include -I/opt/sphinx-0.9.9/include -ruby -autorename rlibsphinxclient.i' end desc 'Generate documentation for the rlibsphinxclient gem.' Rake::RDocTask.new(:rdoc) do |rdoc| rdoc.rdoc_dir = 'rdoc' rdoc.title = 'rlibsphinxclient' rdoc.options << '--line-numbers' << '--inline-source' rdoc.rdoc_files.include('README.rdoc', 'CHANGELOG.rdoc', 'MIT-LICENSE') rdoc.rdoc_files.include('lib/**/*.rb') end desc 'Builds a gem and installs it to ~/.gem folder. Used only for development purposes.' task :dev do system 'rake package' system 'cd pkg && env ARCHFLAGS="-arch i386" DEBUG=1 gem install rlibsphinxclient --no-rdoc --no-ri -- --with-libsphinxclient-dir=/opt/sphinx-0.9.9' end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rlibsphinxclient-0.2.2 | Rakefile |