Sha256: 81d9a2359b972da79dc448b8a61cfd773d5a3a976d2e0a9bfe7bbdfd8160ac72
Contents?: true
Size: 987 Bytes
Versions: 8
Compression:
Stored size: 987 Bytes
Contents
# encoding: utf-8 # # This file is part of the brauser gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>. # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php. # require "bundler/gem_tasks" require "rspec/core/rake_task" RSpec::Core::RakeTask.new("spec") RSpec::Core::RakeTask.new("spec:coverage") { |t| t.ruby_opts = "-r./spec/coverage_helper" } desc "Generate the documentation" task :docs do system("yardoc") || raise("Failed Execution of: yardoc") end desc "Get the current release version" task :version, :with_name do |_, args| gem = Bundler::GemHelper.instance.gemspec puts [args[:with_name] == "true" ? gem.name : nil, gem.version].compact.join("-") end desc "Prepare the release" task :prerelease => ["spec:coverage", "docs"] do ["git add -A", "git commit -am \"Version #{Bundler::GemHelper.instance.gemspec.version}\""].each do |cmd| system(cmd) || raise("Failed Execution of: #{cmd}") end end
Version data entries
8 entries across 8 versions & 1 rubygems
Version | Path |
---|---|
brauser-3.3.2 | Rakefile |
brauser-3.3.1 | Rakefile |
brauser-3.3.0 | Rakefile |
brauser-3.2.6 | Rakefile |
brauser-3.2.5 | Rakefile |
brauser-3.2.4 | Rakefile |
brauser-3.2.3 | Rakefile |
brauser-3.2.2 | Rakefile |