Sha256: d79a7e46e8733bfeac9e57232daef9002bbe1f3d27d51917d7c51ac89a148124
Contents?: true
Size: 1.06 KB
Versions: 2
Compression:
Stored size: 1.06 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") 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-code.js") system("cp -R bootstrap-datepicker/js/locales/ vendor/assets/javascripts/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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bootstrap-datepicker-rails-0.6.7 | Rakefile |
bootstrap-datepicker-rails-0.6.6 | Rakefile |