Sha256: 506dcd7db93623d604c5d8f4a33c33651d656762ef27dd798b6091164d4282ed

Contents?: true

Size: 1.12 KB

Versions: 13

Compression:

Stored size: 1.12 KB

Contents

#!/usr/bin/env rake
require File.expand_path('../lib/bootstrap-datepicker-rails/version', __FILE__)

desc "Update assets"
task 'update' do
  system("rm -rf bootstrap-datepicker-src")
  system("git clone git://github.com/eternicode/bootstrap-datepicker.git bootstrap-datepicker-src")
  system("cp bootstrap-datepicker-src/css/datepicker.css vendor/assets/stylesheets/bootstrap-datepicker.css")
  system("cp bootstrap-datepicker-src/js/bootstrap-datepicker.js vendor/assets/javascripts/bootstrap-datepicker/core.js")
  system("cp -R bootstrap-datepicker-src/js/locales/ vendor/assets/javascripts/bootstrap-datepicker/locales/")
  system("git status")
end

desc "Build the gem"
task "build" do
  system("gem build bootstrap-datepicker-rails.gemspec")
end

desc "Publish the gem"
task 'publish' do
  system("gem push bootstrap-datepicker-rails-#{BootstrapDatepickerRails::Rails::VERSION}.gem")
  system("git push")
end

desc "Build and publish de gem"
task "release" do
  system("gem build bootstrap-datepicker-rails.gemspec")
  system("gem push bootstrap-datepicker-rails-#{BootstrapDatepickerRails::Rails::VERSION}.gem")
  system("git push")
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
bootstrap-datepicker-rails-0.6.21 Rakefile
bootstrap-datepicker-rails-0.6.20 Rakefile
bootstrap-datepicker-rails-0.6.19 Rakefile
bootstrap-datepicker-rails-0.6.18 Rakefile
bootstrap-datepicker-rails-0.6.17 Rakefile
bootstrap-datepicker-rails-0.6.16 Rakefile
bootstrap-datepicker-rails-0.6.15 Rakefile
bootstrap-datepicker-rails-0.6.14 Rakefile
bootstrap-datepicker-rails-0.6.13 Rakefile
bootstrap-datepicker-rails-0.6.12 Rakefile
bootstrap-datepicker-rails-0.6.11 Rakefile
bootstrap-datepicker-rails-0.6.10 Rakefile
bootstrap-datepicker-rails-0.6.9 Rakefile