Sha256: 4f6faa9713d4f606299ebc8c8f605b0ee91f85b19800c5971de167ca44516f58
Contents?: true
Size: 1.12 KB
Versions: 2
Compression:
Stored size: 1.12 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("lessc vendor/assets/stylesheets/bootstrap-timepicker.less > vendor/assets/stylesheets/bootstrap-timepicker.css") 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
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
parallel588-bootstrap-timepicker-rails-0.1.3 | Rakefile |
bootstrap-timepicker-rails-0.1.2 | Rakefile |