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 CACHE MANIFEST
# Wed Jul 3 23:30:24 GMT 2013 # Sun 7 Jul 2013 21:23:00 IST
CACHE: CACHE:
index.html index.html

3
css/main-min.css vendored
View File

@ -5209,7 +5209,7 @@ a.badge:focus {
} }
div.jGrowl { div.jGrowl {
z-index: 1000; z-index: 1050;
color: #fff; color: #fff;
} }
div.ie6 { div.ie6 {
@ -5353,6 +5353,7 @@ li.L3,
li.L5, li.L5,
li.L7, li.L7,
li.L9 { background: #eee } li.L9 { background: #eee }
@media print { @media print {
@page { @page {
margin: 25mm 25mm 25mm 25mm; margin: 25mm 25mm 25mm 25mm;

950
js/main-min.js vendored

File diff suppressed because one or more lines are too long

View File

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

1
scripts/run_optimize Normal file → Executable file
View File

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