{"action":"created","comment":{"url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/pulls/comments/122037930","pull_request_review_id":44118239,"id":122037930,"diff_hunk":"@@ -9,7 +9,12 @@ module.exports = (task) ->\n   \n     \n   task 'build', ->\n-    run \"rm -rf lib && ./node_modules/.bin/coffee -o lib -c src && cd src && find . -name '*.js' -exec rsync -R {} ../lib \\\\;\"\n+    extensions = [ 'js', 'html', 'png', 'jpg', 'gif', 'css', 'md' ]\n+    names = extensions.map (ext) ->\n+      \"-iname \\\\*.#{ext}\"\n+    find = \"find . \\\\( #{names.join(' -o ')} \\\\)\"\n+    console.log(\"rm -rf lib && ./node_modules/.bin/coffee -o lib -c src && cd src && #{find} -exec rsync -R {} ../lib \\\\;\")","path":"src/cake.coffee","position":9,"original_position":9,"commit_id":"a99fd1ffabf429959908703d9bec8ce97f1aa7b9","original_commit_id":"a99fd1ffabf429959908703d9bec8ce97f1aa7b9","user":{"login":"cgrayson","id":5596,"avatar_url":"https://avatars1.githubusercontent.com/u/5596?v=3","gravatar_id":"","url":"https://api.github.com/users/cgrayson","html_url":"https://github.com/cgrayson","followers_url":"https://api.github.com/users/cgrayson/followers","following_url":"https://api.github.com/users/cgrayson/following{/other_user}","gists_url":"https://api.github.com/users/cgrayson/gists{/gist_id}","starred_url":"https://api.github.com/users/cgrayson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgrayson/subscriptions","organizations_url":"https://api.github.com/users/cgrayson/orgs","repos_url":"https://api.github.com/users/cgrayson/repos","events_url":"https://api.github.com/users/cgrayson/events{/privacy}","received_events_url":"https://api.github.com/users/cgrayson/received_events","type":"User","site_admin":false},"body":"Assume this is intentionally announcing what's happening (vs. a debugging leftover)? Could also or alternatively add `-v`s to the `rm` and `rsync` to make them verbose, possibly.","created_at":"2017-06-14T19:07:02Z","updated_at":"2017-06-14T19:07:30Z","html_url":"https://github.com/activeprospect/leadconduit-cakefile/pull/4#discussion_r122037930","pull_request_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/pulls/comments/122037930"},"html":{"href":"https://github.com/activeprospect/leadconduit-cakefile/pull/4#discussion_r122037930"},"pull_request":{"href":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/pulls/4","id":125668703,"html_url":"https://github.com/activeprospect/leadconduit-cakefile/pull/4","diff_url":"https://github.com/activeprospect/leadconduit-cakefile/pull/4.diff","patch_url":"https://github.com/activeprospect/leadconduit-cakefile/pull/4.patch","issue_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/issues/4","number":4,"state":"open","locked":false,"title":"Copy html, png, jpg, gif, css, and md files to lib on build","user":{"login":"alexkwolfe","id":569,"avatar_url":"https://avatars0.githubusercontent.com/u/569?v=3","gravatar_id":"","url":"https://api.github.com/users/alexkwolfe","html_url":"https://github.com/alexkwolfe","followers_url":"https://api.github.com/users/alexkwolfe/followers","following_url":"https://api.github.com/users/alexkwolfe/following{/other_user}","gists_url":"https://api.github.com/users/alexkwolfe/gists{/gist_id}","starred_url":"https://api.github.com/users/alexkwolfe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexkwolfe/subscriptions","organizations_url":"https://api.github.com/users/alexkwolfe/orgs","repos_url":"https://api.github.com/users/alexkwolfe/repos","events_url":"https://api.github.com/users/alexkwolfe/events{/privacy}","received_events_url":"https://api.github.com/users/alexkwolfe/received_events","type":"User","site_admin":false},"body":"More file types that need to be copied. The find command that this generates looks like this:\r\n\r\n```shell\r\nfind . \\( -iname \\*.js -o -iname \\*.html -o -iname \\*.png -o -iname \\*.jpg -o -iname \\*.gif -o -iname \\*.css -o -iname \\*.md \\)\r\n```","created_at":"2017-06-14T18:57:44Z","updated_at":"2017-06-14T19:07:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"baf2b040d6dbd9b0de72db15bc49bdc3d3d1884a","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/pulls/4/commits","review_comments_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/pulls/4/comments","review_comment_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/pulls/comments{/number}","comments_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/issues/4/comments","statuses_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/statuses/a99fd1ffabf429959908703d9bec8ce97f1aa7b9","head":{"label":"activeprospect:build-copy","ref":"build-copy","sha":"a99fd1ffabf429959908703d9bec8ce97f1aa7b9","user":{"login":"activeprospect","id":245554,"avatar_url":"https://avatars1.githubusercontent.com/u/245554?v=3","gravatar_id":"","url":"https://api.github.com/users/activeprospect","html_url":"https://github.com/activeprospect","followers_url":"https://api.github.com/users/activeprospect/followers","following_url":"https://api.github.com/users/activeprospect/following{/other_user}","gists_url":"https://api.github.com/users/activeprospect/gists{/gist_id}","starred_url":"https://api.github.com/users/activeprospect/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/activeprospect/subscriptions","organizations_url":"https://api.github.com/users/activeprospect/orgs","repos_url":"https://api.github.com/users/activeprospect/repos","events_url":"https://api.github.com/users/activeprospect/events{/privacy}","received_events_url":"https://api.github.com/users/activeprospect/received_events","type":"Organization","site_admin":false},"repo":{"id":65498471,"name":"leadconduit-cakefile","full_name":"activeprospect/leadconduit-cakefile","owner":{"login":"activeprospect","id":245554,"avatar_url":"https://avatars1.githubusercontent.com/u/245554?v=3","gravatar_id":"","url":"https://api.github.com/users/activeprospect","html_url":"https://github.com/activeprospect","followers_url":"https://api.github.com/users/activeprospect/followers","following_url":"https://api.github.com/users/activeprospect/following{/other_user}","gists_url":"https://api.github.com/users/activeprospect/gists{/gist_id}","starred_url":"https://api.github.com/users/activeprospect/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/activeprospect/subscriptions","organizations_url":"https://api.github.com/users/activeprospect/orgs","repos_url":"https://api.github.com/users/activeprospect/repos","events_url":"https://api.github.com/users/activeprospect/events{/privacy}","received_events_url":"https://api.github.com/users/activeprospect/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/activeprospect/leadconduit-cakefile","description":"A Node.JS utility module for building LeadConduit integrations","fork":false,"url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile","forks_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/forks","keys_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/keys{/key_id}","collaborators_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/teams","hooks_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/hooks","issue_events_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/issues/events{/number}","events_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/events","assignees_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/assignees{/user}","branches_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/branches{/branch}","tags_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/tags","blobs_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/git/refs{/sha}","trees_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/git/trees{/sha}","statuses_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/statuses/{sha}","languages_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/languages","stargazers_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/stargazers","contributors_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/contributors","subscribers_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/subscribers","subscription_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/subscription","commits_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/commits{/sha}","git_commits_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/git/commits{/sha}","comments_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/comments{/number}","issue_comment_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/issues/comments{/number}","contents_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/contents/{+path}","compare_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/compare/{base}...{head}","merges_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/merges","archive_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/downloads","issues_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/issues{/number}","pulls_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/pulls{/number}","milestones_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/milestones{/number}","notifications_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/labels{/name}","releases_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/releases{/id}","deployments_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/deployments","created_at":"2016-08-11T20:11:05Z","updated_at":"2016-08-15T16:58:25Z","pushed_at":"2017-06-14T18:57:44Z","git_url":"git://github.com/activeprospect/leadconduit-cakefile.git","ssh_url":"git@github.com:activeprospect/leadconduit-cakefile.git","clone_url":"https://github.com/activeprospect/leadconduit-cakefile.git","svn_url":"https://github.com/activeprospect/leadconduit-cakefile","homepage":null,"size":11,"stargazers_count":0,"watchers_count":0,"language":"CoffeeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"activeprospect:master","ref":"master","sha":"36f7cd3cc8900fdef173651bb8b4f00d2f46b130","user":{"login":"activeprospect","id":245554,"avatar_url":"https://avatars1.githubusercontent.com/u/245554?v=3","gravatar_id":"","url":"https://api.github.com/users/activeprospect","html_url":"https://github.com/activeprospect","followers_url":"https://api.github.com/users/activeprospect/followers","following_url":"https://api.github.com/users/activeprospect/following{/other_user}","gists_url":"https://api.github.com/users/activeprospect/gists{/gist_id}","starred_url":"https://api.github.com/users/activeprospect/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/activeprospect/subscriptions","organizations_url":"https://api.github.com/users/activeprospect/orgs","repos_url":"https://api.github.com/users/activeprospect/repos","events_url":"https://api.github.com/users/activeprospect/events{/privacy}","received_events_url":"https://api.github.com/users/activeprospect/received_events","type":"Organization","site_admin":false},"repo":{"id":65498471,"name":"leadconduit-cakefile","full_name":"activeprospect/leadconduit-cakefile","owner":{"login":"activeprospect","id":245554,"avatar_url":"https://avatars1.githubusercontent.com/u/245554?v=3","gravatar_id":"","url":"https://api.github.com/users/activeprospect","html_url":"https://github.com/activeprospect","followers_url":"https://api.github.com/users/activeprospect/followers","following_url":"https://api.github.com/users/activeprospect/following{/other_user}","gists_url":"https://api.github.com/users/activeprospect/gists{/gist_id}","starred_url":"https://api.github.com/users/activeprospect/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/activeprospect/subscriptions","organizations_url":"https://api.github.com/users/activeprospect/orgs","repos_url":"https://api.github.com/users/activeprospect/repos","events_url":"https://api.github.com/users/activeprospect/events{/privacy}","received_events_url":"https://api.github.com/users/activeprospect/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/activeprospect/leadconduit-cakefile","description":"A Node.JS utility module for building LeadConduit integrations","fork":false,"url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile","forks_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/forks","keys_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/keys{/key_id}","collaborators_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/teams","hooks_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/hooks","issue_events_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/issues/events{/number}","events_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/events","assignees_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/assignees{/user}","branches_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/branches{/branch}","tags_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/tags","blobs_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/git/refs{/sha}","trees_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/git/trees{/sha}","statuses_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/statuses/{sha}","languages_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/languages","stargazers_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/stargazers","contributors_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/contributors","subscribers_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/subscribers","subscription_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/subscription","commits_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/commits{/sha}","git_commits_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/git/commits{/sha}","comments_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/comments{/number}","issue_comment_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/issues/comments{/number}","contents_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/contents/{+path}","compare_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/compare/{base}...{head}","merges_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/merges","archive_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/downloads","issues_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/issues{/number}","pulls_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/pulls{/number}","milestones_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/milestones{/number}","notifications_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/labels{/name}","releases_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/releases{/id}","deployments_url":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/deployments","created_at":"2016-08-11T20:11:05Z","updated_at":"2016-08-15T16:58:25Z","pushed_at":"2017-06-14T18:57:44Z","git_url":"git://github.com/activeprospect/leadconduit-cakefile.git","ssh_url":"git@github.com:activeprospect/leadconduit-cakefile.git","clone_url":"https://github.com/activeprospect/leadconduit-cakefile.git","svn_url":"https://github.com/activeprospect/leadconduit-cakefile","homepage":null,"size":11,"stargazers_count":0,"watchers_count":0,"language":"CoffeeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/pulls/4"},"html":{"href":"https://github.com/activeprospect/leadconduit-cakefile/pull/4"},"issue":{"href":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/issues/4"},"comments":{"href":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/activeprospect/leadconduit-cakefile/statuses/a99fd1ffabf429959908703d9bec8ce97f1aa7b9"}}}}
{"actor":{"display_login":"cgrayson"}}