Sha256: 928a724fac7715847fa5687ee58dfd4e1ad1d584556abe738e44872962806483
Contents?: true
Size: 946 Bytes
Versions: 1
Compression:
Stored size: 946 Bytes
Contents
#!/usr/bin/env rake 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 and publish de gem" task "build" do system("gem build bootstrap-datepicker-rails.gemspec") end desc "Build and publish de gem" task "publish" do require File.expand_path('../lib/bootstrap-datepicker-rails/version', __FILE__) system("gem push bootstrap-datepicker-rails-#{BootstrapDatepickerRails::Rails::VERSION}.gem") system("git push") end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bootstrap-datepicker-rails-0.6.28 | Rakefile |