Sha256: 0b77c658f5474dd020171e6faaecfcd3a701fdb8b20e0575cbae98b5abd23a27

Contents?: true

Size: 717 Bytes

Versions: 8

Compression:

Stored size: 717 Bytes

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")
  system("git clone git://github.com/eternicode/bootstrap-datepicker.git")
  system("cp bootstrap-datepicker/css/datepicker.css vendor/assets/stylesheets/bootstrap-datepicker.css")
  system("cp bootstrap-datepicker/js/bootstrap-datepicker.js vendor/assets/javascripts/bootstrap-datepicker.js")
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")
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
bootstrap-datepicker-rails-0.6.4 Rakefile
bootstrap-datepicker-rails-0.6.3 Rakefile
bootstrap-datepicker-rails-0.6.2 Rakefile
bootstrap-datepicker-rails-0.6.1 Rakefile
bootstrap-datepicker-rails-0.6.0 Rakefile
bootstrap-datepicker-rails-0.5.1 Rakefile
bootstrap-datepicker-rails-0.5 Rakefile
bootstrap-datepicker-rails-0.4 Rakefile