Sha256: 0de6ad26157b0de312b88d214db4c107a1bf656bfdd55bfa7da67f7717ab4338
Contents?: true
Size: 1.27 KB
Versions: 1
Compression:
Stored size: 1.27 KB
Contents
=begin This file is part of the Arachni-RPC project and may be subject to redistribution and commercial restrictions. Please see the Arachni-RPC web site for more information on licensing and terms of use. =end require 'rubygems' require File.expand_path( File.dirname( __FILE__ ) ) + '/lib/arachni/rpc/version' begin require 'rspec' require 'rspec/core/rake_task' RSpec::Core::RakeTask.new rescue end task default: [ :build, :spec ] 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 desc "Cleaning..." task :clean do sh "rm *.gem || true" end desc "Build the arachni-rpc gem." task :build => [ :clean ] do sh "gem build arachni-rpc.gemspec" end desc "Build and install the arachni gem." task :install => [ :build ] do sh "gem install arachni-rpc-#{Arachni::RPC::VERSION}.gem" end desc "Push a new version to Rubygems" task :publish => [ :build ] do sh "git tag -a v#{Arachni::RPC::VERSION} -m 'Version #{Arachni::RPC::VERSION}'" sh "gem push arachni-rpc-#{Arachni::RPC::VERSION}.gem" end task :release => [ :publish ]
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
arachni-rpc-0.1.3 | Rakefile |