This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Pulls in the changed files from aws_s3 at run time and pass them | |
// into cloudfront invalidation | |
grunt.registerTask('invalidate_cache', 'Invalidate Cloudfront from aws_s3 output', function (subtask) { | |
var aws_changed = grunt.config.get('aws_s3_changed'), | |
task = 'cloudfront', | |
changed_files; | |
if ( !Array.isArray(aws_changed) ) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://explainshell.com/ | |
http://www.cyberciti.biz/faq/linux-unix-bsd-xargs-construct-argument-lists-utility/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_ |
NewerOlder