Sha256: 457a7c604f0b2df6c65af47bb2c93220377357eaac48eb44db0b31ef192d7dc2
Contents?: true
Size: 1.79 KB
Versions: 1
Compression:
Stored size: 1.79 KB
Contents
#!/usr/bin/env rake require 'rake/clean' begin require 'hoe' rescue LoadError abort "This Rakefile requires 'hoe' (gem install hoe)" end Hoe.plugin :mercurial Hoe.plugin :signing Hoe.plugin :manualgen Hoe.plugin :deveiate Hoe.plugins.delete :rubyforge hoespec = Hoe.spec 'strelka-cms' do self.readme_file = 'README.rdoc' self.history_file = 'History.rdoc' self.extra_rdoc_files = FileList[ '*.rdoc' ] self.developer 'Michael Granger', 'ged@FaerieMUD.org' self.dependency 'strelka', '~> 0.0' self.dependency 'ratom', '~> 0.6' self.dependency 'RedCloth', '~> 4.2' self.dependency 'ots', '~> 0.5' self.dependency 'nokogiri', '~> 1.4' self.dependency 'pluginfactory', '~> 1.0' self.dependency 'tidy-ext', '~> 0.1' self.dependency 'rcodetools', '~> 0.8' self.dependency 'hoe-deveiate', '~> 0.1', :developer self.spec_extras[:licenses] = ["BSD"] self.spec_extras[:rdoc_options] = ['-f', 'fivefish', '-t', 'Strelka CMS'] self.require_ruby_version( '>=1.9.3' ) self.hg_sign_tags = true if self.respond_to?( :hg_sign_tags= ) self.check_history_on_release = true if self.respond_to?( :check_history_on_release= ) self.rdoc_locations << "deveiate:/usr/local/www/public/code/#{remote_rdoc_dir}" end ENV['VERSION'] ||= hoespec.spec.version.to_s # Ensure the specs pass before checking in task 'hg:precheckin' => [ :check_history, :check_manifest, :spec ] desc "Build a coverage report" task :coverage do ENV["COVERAGE"] = 'yes' Rake::Task[:spec].invoke end if Rake::Task.task_defined?( '.gemtest' ) Rake::Task['.gemtest'].clear task '.gemtest' do $stderr.puts "Not including a .gemtest until I'm confident the test suite is idempotent." end end # Add admin app testing directories to the clobber list CLOBBER.include( 'static', 'run', 'logs', 'strelka.sqlite' )
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
strelka-cms-0.1.0 | Rakefile |