Skip to content
This repository has been archived by the owner on Jul 14, 2022. It is now read-only.

Commit

Permalink
Upgrade to grunt 0.4.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
ahume committed Mar 15, 2013
1 parent 510458d commit 650ed49
Show file tree
Hide file tree
Showing 457 changed files with 53,753 additions and 772 deletions.
10 changes: 2 additions & 8 deletions build/deploy.js
Expand Up @@ -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() {

Expand Down Expand Up @@ -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
}
Expand Down
2 changes: 1 addition & 1 deletion component.json
@@ -1,6 +1,6 @@
{
"name": "pasteup",
"version": "0.0.4",
"version": "0.0.5",
"main": [
"./js/modules/main.js",
"./less/pasteup.less"
Expand Down
7 changes: 7 additions & 0 deletions docs/javascript.html
Expand Up @@ -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">
Expand Down
23 changes: 23 additions & 0 deletions node_modules/grunt/CHANGELOG

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

2 changes: 1 addition & 1 deletion node_modules/grunt/Gruntfile.js

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

2 changes: 1 addition & 1 deletion node_modules/grunt/LICENSE-MIT

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

3 changes: 1 addition & 2 deletions node_modules/grunt/README.md

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

25 changes: 13 additions & 12 deletions node_modules/grunt/custom-gruntfile.js

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

24 changes: 15 additions & 9 deletions node_modules/grunt/lib/grunt.js

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

2 changes: 1 addition & 1 deletion node_modules/grunt/lib/grunt/cli.js

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

2 changes: 1 addition & 1 deletion node_modules/grunt/lib/grunt/config.js

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

2 changes: 1 addition & 1 deletion node_modules/grunt/lib/grunt/event.js

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

4 changes: 2 additions & 2 deletions node_modules/grunt/lib/grunt/fail.js

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

14 changes: 10 additions & 4 deletions node_modules/grunt/lib/grunt/file.js

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

2 changes: 1 addition & 1 deletion node_modules/grunt/lib/grunt/help.js

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

0 comments on commit 650ed49

Please sign in to comment.