Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: b6cc9b01e5
Fetching contributors…

Cannot retrieve contributors at this time

39 lines (29 sloc) 0.902 kB
require 'rake'
require 'rake/testtask'
require 'rake/clean'
require 'rake/gempackagetask'
require 'rake/rdoctask'
require '../tools/rakehelp'
require 'fileutils'
include FileUtils
setup_tests
setup_clean ["pkg", "lib/*.bundle", "*.gem", ".config"]
setup_rdoc ['README', 'LICENSE', 'lib/**/*.rb', 'doc/**/*.rdoc']
desc "Does a full compile, test run"
task :default => [:test, :package]
version="0.9"
name="activerdf_sparql"
setup_gem(name, version) do |spec|
spec.summary = "ActiveRDF adapter to SPARQL endpoint"
spec.description = spec.summary
spec.author="Eyal Oren <eyal.oren@deri.org"
spec.add_dependency('gem_plugin', '>= 0.2.1')
spec.add_dependency('activerdf', '>= 0.9.2')
end
task :install => [:package] do
sh %{sudo gem install pkg/#{name}-#{version}.gem}
end
task :uninstall => [:clean] do
sh %{sudo gem uninstall #{name}}
end
task :reinstall => [:uninstall, :install]
Jump to Line
Something went wrong with that request. Please try again.