Sha256: 1efe15b13658148fdf91841c9928682d88f0a70c60f1ff148313079b672726d6

Contents?: true

Size: 662 Bytes

Versions: 3

Compression:

Stored size: 662 Bytes

Contents

# rubocop:disable Style/SymbolArray
# rubocop:disable Style/HashSyntax

require 'bundler/gem_tasks'

task :validate_gemspec do
  Bundler.load_gemspec('git-switcher.gemspec').validate
end

task :version => :validate_gemspec do
  puts Git::Switcher.version
end

require 'rubocop/rake_task'

RuboCop::RakeTask.new(:rubocop)

require 'rake/testtask'

Rake::TestTask.new(:test) do |t|
  t.libs << 'test'
  t.libs << 'lib'
  t.test_files = FileList['test/**/*_test.rb']
end

task :default => [:version, :rubocop, :test]

task :documentation

Rake::Task['build'].enhance([:default, :documentation])

# rubocop:enable Style/HashSyntax
# rubocop:enable Style/SymbolArray

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
git-switcher-1.0.2 Rakefile
git-switcher-1.0.1 Rakefile
git-switcher-1.0.0 Rakefile