Sha256: 191d2a87f82a9b429d76bde4e515769130bd31f5381b71634fb8830dc2ad0b11
Contents?: true
Size: 1 KB
Versions: 1
Compression:
Stored size: 1 KB
Contents
#!/usr/bin/env rake require File.expand_path('../lib/bootstrap-timepicker-rails/version', __FILE__) desc "Update assets" task 'update' do system("rm -rf bootstrap-timepicker-src") system("git clone git://github.com/jdewit/bootstrap-timepicker.git bootstrap-timepicker-src") system("cp bootstrap-timepicker-src/less/timepicker.less vendor/assets/stylesheets/bootstrap-timepicker.less") system("cp bootstrap-timepicker-src/js/bootstrap-timepicker.js vendor/assets/javascripts/bootstrap-timepicker.js") system("git status") end desc "Build the gem" task "build" do system("gem build bootstrap-timepicker-rails.gemspec") end desc "Publish the gem" task 'publish' do system("gem push bootstrap-timepicker-rails-#{BootstrapTimepickerRails::Rails::VERSION}.gem") system("git push") end desc "Build and publish the gem" task "release" do system("gem build bootstrap-timepicker-rails.gemspec") system("gem push bootstrap-timepicker-rails-#{BootstrapTimepickerRails::Rails::VERSION}.gem") system("git push") end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bootstrap-timepicker-rails-0.1.1 | Rakefile |