Sha256: eb5b8054033e9d8d4a54fc2e622d1a3d3d012e5f9c4c4750fc570276714d39b4
Contents?: true
Size: 1.36 KB
Versions: 1
Compression:
Stored size: 1.36 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' require 'rspec' require 'rspec/core/rake_task' require File.expand_path( File.dirname( __FILE__ ) ) + '/lib/arachni/rpc/pure/version' RSpec::Core::RakeTask.new do |t| t.rspec_opts = ['--options', "\"#{File.dirname(__FILE__)}/spec/spec.opts\""] 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-pure gem." task :build => [ :clean ] do sh "gem build arachni-rpc-pure.gemspec" end # # Installing # desc "Build and install the arachni-rpc-pure gem." task :install => [ :build ] do sh "gem install arachni-rpc-pure-#{Arachni::RPC::Pure::VERSION}.gem" end # # Publishing # desc "Push a new version to Gemcutter" task :publish => [ :build ] do sh "gem push arachni-rpc-pure-#{Arachni::RPC::Pure::VERSION}.gem" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
arachni-rpc-pure-0.1 | Rakefile |