Sha256: 7d7730e18e87e06677c84f2101484a2e082b7c3cceb980bc54931b1c24ef5db7

Contents?: true

Size: 740 Bytes

Versions: 1

Compression:

Stored size: 740 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")
  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")
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bootstrap-datepicker-rails-0.6.5 Rakefile