Sha256: 49f193e8ed1b8caf629f9fd3c684e27a720d812bc7319f0d7ba3d5de0a00ec8c
Contents?: true
Size: 1.44 KB
Versions: 1
Compression:
Stored size: 1.44 KB
Contents
=begin Arachni Copyright (c) 2010-2011 Tasos "Zapotek" Laskos <tasos.laskos@gmail.com> This is free software; you can copy and distribute and modify this program under the term of the GPL v2.0 License (See LICENSE file for details) =end require 'rubygems' begin require 'rspec' require 'rspec/core/rake_task' RSpec::Core::RakeTask.new do |t| t.rspec_opts = ['--options', "\"#{File.dirname(__FILE__)}/spec/spec.opts\""] end rescue end desc "Generate docs" task :docs do outdir = "../arachni-rpc-pages" sh "mkdir #{outdir}" if !File.directory?( outdir ) sh "yardoc --verbose --title \ \"Arachni-RPC\" \ lib/* -o #{outdir} \ - CHANGELOG.md LICENSE.md" sh "rm -rf .yard*" end # # Cleans reports and logs # desc "Cleaning..." task :clean do sh "rm *.gem || true" end # # Building # desc "Build the arachni-rpc gem." task :build => [ :clean ] do sh "gem build arachni-rpc.gemspec" end # # Installing # desc "Build and install the arachni gem." task :install => [ :build ] do require File.expand_path( File.dirname( __FILE__ ) ) + '/lib/arachni/rpc/version' sh "gem install arachni-rpc-#{Arachni::RPC::VERSION}.gem" end # # Publishing # desc "Push a new version to Gemcutter" task :publish => [ :build ] do require File.expand_path( File.dirname( __FILE__ ) ) + '/lib/arachni/rpc/version' sh "gem push arachni-rpc-#{Arachni::RPC::VERSION}.gem" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
arachni-rpc-0.1 | Rakefile |