Permalink
Browse files

Upgrade to grunt 0.4.1.

  • Loading branch information...
1 parent 510458d commit 650ed49e5e6bd6cb8a6bb17471174c24e59eb870 @ahume ahume committed Mar 15, 2013
Showing 457 changed files with 53,753 additions and 772 deletions.
View
@@ -32,13 +32,13 @@ function doFullDeploy(bucket, callback) {
// Sync files with far future epxires first.
deploy(
's3cmd sync --recursive --acl-public --guess-mime-type ' +
- '--add-header "Expires: ' + getFarFutureExpiryDate() + '" '
+ '--add-header "Cache-Control: max-age=315360000" '
+ tmp_dir + '/js/lib/ s3://' + bucket + '/js/lib/',
function() {
var v = getVersionNumber();
deploy(
's3cmd sync --recursive --acl-public --guess-mime-type ' +
- '--add-header "Expires: ' + getFarFutureExpiryDate() + '" '
+ '--add-header "Cache-Control: max-age=315360000" '
+ tmp_dir + '/' + v + '/ s3://' + bucket + '/' + v + '/',
function() {
@@ -95,12 +95,6 @@ function getVersionNumber() {
return data['version'];
}
-function getFarFutureExpiryDate() {
- var d = new Date();
- d.setYear(d.getFullYear() + 10);
- return d.toGMTString();
-}
-
module.exports = {
'doFullDeploy': doFullDeploy
}
View
@@ -1,6 +1,6 @@
{
"name": "pasteup",
- "version": "0.0.4",
+ "version": "0.0.5",
"main": [
"./js/modules/main.js",
"./less/pasteup.less"
View
@@ -68,6 +68,13 @@ <h3 class="margin-bottom"><a href="http://mustache.github.com/">Mustache</a></h3
<li><a href="http://pasteup.guim.co.uk/js/lib/mustache/0.7.0/mustache.min.js">Mustache production version</a></li>
</ul>
</div>
+ <div class="col-4">
+ <h3 class="margin-bottom"><a href="http://momentjs.com/">Moment</a></h3>
+ <ul>
+ <li><a href="http://pasteup.guim.co.uk/js/lib/moment/2.0.0/moment.js">Moment dev version</a></li>
+ <li><a href="http://pasteup.guim.co.uk/js/lib/moment/2.0.0/moment.min.js">Moment production version</a></li>
+ </ul>
+ </div>
</div>
<div class="hd zone-border zone-border-medium margin-top">
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 650ed49

Please sign in to comment.