Skip to content
This repository has been archived by the owner on Oct 6, 2021. It is now read-only.

Commit

Permalink
move site files into _source directory
Browse files Browse the repository at this point in the history
  • Loading branch information
lmullen committed Apr 30, 2012
1 parent e169103 commit ca81b91
Show file tree
Hide file tree
Showing 509 changed files with 761 additions and 6 deletions.
10 changes: 5 additions & 5 deletions Rakefile
Expand Up @@ -75,25 +75,25 @@ end
desc 'assemble Bootstrap and other Javascripts'
task :js do
# concatenate just the scripts that we need
sh 'cat ./_bootstrap/js/bootstrap-dropdown.js ./_bootstrap/js/bootstrap-collapse.js ./_bootstrap/js/bootstrap-tooltip.js ./_bootstrap/js/bootstrap-modal.js ./_bootstrap/js/bootstrap-transition.js ./assets/audio-player/audio-player.js ./assets/js/footnotify.js > ./_bootstrap/jsr.tmp.js'
sh 'cat ./_bootstrap/js/bootstrap-dropdown.js ./_bootstrap/js/bootstrap-collapse.js ./_bootstrap/js/bootstrap-tooltip.js ./_bootstrap/js/bootstrap-modal.js ./_bootstrap/js/bootstrap-transition.js ./_source/assets/audio-player/audio-player.js ./_footnotify/footnotify.js > ./_bootstrap/jsr.tmp.js'
# compress the JavaScript and copy it to our js directory
sh 'uglifyjs -nc ./_bootstrap/jsr.tmp.js > ./assets/js/jsr.min.js'
sh 'uglifyjs -nc ./_bootstrap/jsr.tmp.js > ./_source/assets/js/jsr.min.js'
# remove the temporary file
sh 'rm ./_bootstrap/jsr.tmp.js'
end

desc 'copy images'
task :img do
# copy the Bootstrap images to our image directory
sh 'cp ./_bootstrap/img/* ./assets/img/'
sh 'cp ./_bootstrap/img/* ./_source/assets/img/'
end

desc 'compile CSS from LESS '
task :css do
# compile, compress, and copy main Bootstrap CSS
sh 'lessc --compress ./_bootstrap/less/bootstrap.less > ./assets/css/bootstrap.min.css'
sh 'lessc --compress ./_bootstrap/less/bootstrap.less > ./_source/assets/css/bootstrap.min.css'
# compile, compress, and copy responsive layout CSS
sh 'lessc --compress ./_bootstrap/less/responsive.less > ./assets/css/bootstrap-responsive.min.css'
sh 'lessc --compress ./_bootstrap/less/responsive.less > ./_source/assets/css/bootstrap-responsive.min.css'
end

desc 'update all assets'
Expand Down
2 changes: 1 addition & 1 deletion _config.yml
Expand Up @@ -18,7 +18,7 @@ facebook-link: http://www.facebook.com/pages/Journal-of-Southern-Religion/197375
email-subscribe-standalone: http://eepurl.com/llKWT

# Generation
source: .
source: ./_source
destination: ./_site
plugins: ./_plugins
exclude: _working/, Rakefile, _bootstrap/, _backups/
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
9 changes: 9 additions & 0 deletions _source/assets/css/bootstrap-responsive.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ca81b91

Please sign in to comment.