Permalink
Browse files

refactor

  • Loading branch information...
1 parent 41637f0 commit 21aedeb3bad8b156563375a2e6356baf88f0f662 @Nerian committed Apr 18, 2012
View
@@ -1,3 +1,3 @@
Gemfile.lock
*.gem
-bootstrap-datepicker
+bootstrap-datepicker-src
View
@@ -3,11 +3,11 @@ 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("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
@@ -1,5 +1,5 @@
module BootstrapDatepickerRails
module Rails
- VERSION = "0.6.7"
+ VERSION = "0.6.8"
end
end
@@ -1,2 +0,0 @@
-// require bootstrap-datepicker-code
-// require locales/locales
@@ -0,0 +1 @@
+// require core
@@ -1 +0,0 @@
-// require_tree .

0 comments on commit 21aedeb

Please sign in to comment.