(Describe what the feature is)
(Describe at a high level how the feature was implemented)
(Describe what parts of the site are impacted andifcode touched other areas)
| # Example Usage: gpb develop | |
| # Removes any branches that were already merged into develop | |
| gpb() { | |
| BRANCH=$1 | |
| BRANCHES_TO_CLEAN=$(git branch --merged=$BRANCH | grep -v $BRANCH) | |
| echo "Branches that have been merged to develop:" | |
| echo $BRANCHES_TO_CLEAN | |
| read -q "REPLY?Remove branches? (y/n)" | |
| echo "" |
| // 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) ) { |
| http://explainshell.com/ | |
| http://www.cyberciti.biz/faq/linux-unix-bsd-xargs-construct-argument-lists-utility/ |
| _ |