Sha256: c7cc07c2b25337f6cd964c152bbac0b52a69c640ca45e626888d93a7301ed635
Contents?: true
Size: 1.62 KB
Versions: 2
Compression:
Stored size: 1.62 KB
Contents
%w[rubygems rake rake/clean fileutils newgem rubigen spec spec/rake/spectask].each { |f| require f } require File.dirname(__FILE__) + '/lib/activefacts' # Generate all the Rake tasks # Run 'rake -T' to see list of generated tasks (from gem root directory) $hoe = Hoe.new('activefacts', ActiveFacts::VERSION) do |p| p.developer('Clifford Heath', 'cjh@dataconstellation.org') p.changes = p.paragraphs_of("History.txt", 0..1).join("\n\n") p.post_install_message = 'For more information on ActiveFacts, see http://dataconstellation.com/ActiveFacts' p.rubyforge_name = "cjheath@rubyforge.org" p.extra_deps = [ ['treetop','>= 1.2.4'], ] p.extra_dev_deps = [ ['newgem', ">= #{::Newgem::VERSION}"] ] p.spec_extras[:extensions] = 'lib/activefacts/cql/Rakefile' p.spec_extras[:rdoc_options] = [ "-x", "lib/activefacts/cql/.*.rb", "-x", "lib/activefacts/vocabulary/.*.rb", "-x", "lib/activefacts/persistence/.*.rb", ] p.clean_globs |= %w[**/.DS_Store tmp *.log] path = (p.rubyforge_name == p.name) ? p.rubyforge_name : "\#{p.rubyforge_name}/\#{p.name}" p.remote_rdoc_dir = File.join(path.gsub(/^#{p.rubyforge_name}\/?/,''), 'rdoc') p.rsync_args = '-av --delete --ignore-errors' end require 'newgem/tasks' # load /tasks/*.rake Dir['tasks/**/*.rake'].each { |t| load t } # TODO - want other tests/tasks run by default? Add them to the list # task :default => [:spec, :features] Spec::Rake::SpecTask.new(:spec) do |t| t.ruby_opts = ['-I', "lib"] t.spec_files = FileList['spec/**/*_spec.rb'] # t.rcov = true # t.rcov_opts = ['--exclude', 'spec,/usr/lib/ruby' ] end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
activefacts-0.6.0 | Rakefile |
activefacts-0.7.0 | Rakefile |