Permalink
Browse files

importing css

  • Loading branch information...
xdite committed Oct 7, 2012
1 parent 996e71f commit eaa18693436c9454861ae8ec26086ad05ac63a1e
@@ -55,5 +55,7 @@ def create_database
bundle_command 'exec rake db:create'
end
+
+
end
end
@@ -21,6 +21,9 @@ def bootstrapers_customization
invoke :add_jquery_ui
invoke :customize_gemfile
invoke :setup_database
+ #invoke :configure_app
+ invoke :setup_stylesheets
+
end
def remove_files_we_dont_need
@@ -64,6 +67,20 @@ def setup_database
build :create_database
end
+ def configure_app
+ say 'Configuring app'
+ build :build_settings_from_config
+ # TODO
+ end
+
+ def setup_stylesheets
+ copy_file 'app/assets/stylesheets/application.css', 'app/assets/stylesheets/application.css.scss'
+ remove_file 'app/assets/stylesheets/application.css'
+ concat_file 'import_scss_styles', 'app/assets/stylesheets/application.css.scss'
+ create_file 'app/assets/stylesheets/_screen.scss'
+ end
+
+
protected
def get_builder_class
@@ -1,4 +1,5 @@
+gem "settingslogic"
gem 'anjlab-bootstrap-rails', '>= 2.1', :require => 'bootstrap-rails'
gem 'high_voltage'
gem 'airbrake'
@@ -0,0 +1,3 @@
+@import "bootstrap-setting";
+@import "twitter/bootstrap";
+@import "bootstrap-override";

0 comments on commit eaa1869

Please sign in to comment.