Skip to content
This repository has been archived by the owner on May 18, 2024. It is now read-only.

Commit

Permalink
prepare for the release
Browse files Browse the repository at this point in the history
  • Loading branch information
dnagir committed Nov 21, 2011
1 parent 714d124 commit e621b5a
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@ pkg/
spec/dummy/db/*.sqlite3
spec/dummy/log/*.log
spec/dummy/tmp/
spec/dummy/public/assets
db/*.sqlite3
log/*.log
tmp/
.sass-cache/
*.swp
build/output/**/*.yml
build/output/**/*.gz
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ gem "jquery-rails"
gem 'jasminerice'
gem 'coffee-script'
gem 'pry'
gem 'uglifier'

# Declare any dependencies that are still in development here instead of in
# your gemspec. These might include edge Rails or gems from your path or
Expand Down
4 changes: 4 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@ GEM
polyglot
polyglot (>= 0.3.1)
tzinfo (0.3.31)
uglifier (1.1.0)
execjs (>= 0.3.0)
multi_json (>= 1.0.2)

PLATFORMS
ruby
Expand All @@ -148,3 +151,4 @@ DEPENDENCIES
jquery-rails
pry
rspec-rails
uglifier
7 changes: 7 additions & 0 deletions build/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

pushd spec/dummy &&
bundle exec rake assets:clean RAILS_ENV=production &&
bundle exec rake assets:precompile:primary RAILS_ENV=production &&
popd &&
rm -rf build/output/* &&
cp -rf spec/dummy/public/assets build/output
5 changes: 3 additions & 2 deletions lib/assets/stylesheets/ios-checkboxes.css.sass
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
@import "./ios-checkboxes/mixins"
+iphone-style
/*
*= require ios-checkboxes/ios-checkboxes
*/
3 changes: 3 additions & 0 deletions lib/assets/stylesheets/ios-checkboxes/ios-checkboxes.css.sass
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@import "./ios-checkboxes/mixins"
+iphone-style

2 changes: 1 addition & 1 deletion spec/dummy/config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
# config.action_controller.asset_host = "http://assets.example.com"

# Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
# config.assets.precompile += %w( search.js )
config.assets.precompile = %w( ios-checkboxes/ios-checkboxes.js ios-checkboxes/ios-checkboxes.css ios-checkboxes/*.png )

# Disable delivery errors, bad email addresses will be ignored
# config.action_mailer.raise_delivery_errors = false
Expand Down

0 comments on commit e621b5a

Please sign in to comment.