Prepare deployment

This commit is contained in:
benweet 2013-07-07 21:23:00 +01:00
parent ec1388fb3f
commit 8b2300573e
5 changed files with 899 additions and 835 deletions

View File

@ -1,5 +1,5 @@
CACHE MANIFEST
# Wed Jul 3 23:30:24 GMT 2013
# Sun 7 Jul 2013 21:23:00 IST
CACHE:
index.html

9
css/main-min.css vendored
View File

@ -5207,9 +5207,9 @@ a.badge:focus {
.affix {
position: fixed;
}
div.jGrowl {
z-index: 1000;
z-index: 1050;
color: #fff;
}
div.ie6 {
@ -5312,7 +5312,7 @@ div.jGrowl div.jGrowl-closer {
div.jGrowl {
display: none;
}
}
}
.pln { color: #000 }
@media screen {
.str { color: #080 }
@ -5353,6 +5353,7 @@ li.L3,
li.L5,
li.L7,
li.L9 { background: #eee }
@media print {
@page {
margin: 25mm 25mm 25mm 25mm;
@ -5994,4 +5995,4 @@ input[type="file"] {
.viewer .btn-group {
margin-right: 0;
margin-left: 0;
}
}

1716
js/main-min.js vendored

File diff suppressed because one or more lines are too long

View File

@ -3,8 +3,8 @@ set -e
echo '### Optimizing resources ###'
scripts/run_optimize
echo '### Modifying cache.manifest ###'
sed -i "s/^#.*/# `date`/" cache.manifest
sed -i '' "s/^#.*/# `date`/" cache.manifest
echo '### Commit and push ###'
git commit -a -m "Prepare deployment"
git branch -f gh-pages master
git push --all
git push --all

3
scripts/run_optimize Normal file → Executable file
View File

@ -1,4 +1,5 @@
#!/bin/sh
npm install requirejs
export PATH=${PATH}:node_modules/requirejs/bin/
r.js -o tools/optimize-css.json
r.js -o tools/optimize-js.json
r.js -o tools/optimize-js.json