Sha256: a29be14bcc619d26ed11a60958106842609784f7ca15d4e892de605ee632766b

Contents?: true

Size: 624 Bytes

Versions: 7

Compression:

Stored size: 624 Bytes

Contents

#!/usr/bin/env rake

require "bundler/gem_tasks"
require File.expand_path('../lib/introjs-rails/source_file', __FILE__)

$LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
require 'introjs-rails/version'

task default: :update

desc "Update library"
task :update do
  files = SourceFile.new
  files.fetch
end

task gem: :build
task :build do
  system "gem build introjs-rails.gemspec"
end

task release: :build do
  version = Introjs::Rails::VERSION
  system "git tag -a v#{version} -m 'Tagging #{version}'"
  system "git push --tags"
  system "gem push introjs-#{version}.gem"
  system "rm introjs-#{version}.gem"
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
introjs-rails-1.0.0 Rakefile
introjs-rails-0.5.0 Rakefile
introjs-rails-0.4.0 Rakefile
introjs-rails-0.3.0 Rakefile
introjs-rails-0.2.1 Rakefile
introjs-rails-0.2.0 Rakefile
introjs-rails-0.1.0 Rakefile