{"action":"created","comment":{"url":"https://api.github.com/repos/unlimitedlabs/orchestra/pulls/comments/57637800","id":57637800,"diff_hunk":"@@ -0,0 +1,78 @@\n+var gulp = require('gulp');\n+var cache = require('gulp-cached');\n+var jscs = require('gulp-jscs');\n+var jshint = require('gulp-jshint');\n+var ngAnnotate = require('gulp-ng-annotate');\n+var print = require('gulp-print');\n+var rename = require('gulp-rename');\n+var sass = require('gulp-sass');\n+var sourcemaps = require('gulp-sourcemaps');\n+var stylish = require('jshint-stylish');\n+var uglify = require('gulp-uglify');\n+var watch = require('gulp-watch');\n+\n+var buildDestination = 'orchestra/static/dist';\n+\n+var files = {\n+  scss: [\n+    'orchestra/static/orchestra/common/components/checklist/css/checklist.scss',\n+    'orchestra/static/orchestra/common/components/iframe/css/iframe.scss',\n+    'orchestra/static/orchestra/common/components/quill/css/quill.scss',\n+    'orchestra/static/orchestra/common/css/orchestra.scss',\n+    'orchestra/static/orchestra/common/css/registration.scss',\n+    'orchestra/static/orchestra/dashboard/css/dashboard.scss',\n+    'orchestra/static/orchestra/task/css/task.scss',\n+  ],\n+  scripts: [\n+    '!' + buildDestination + '/**'\n+  ]\n+};\n+\n+var installedApps = [\n+  'orchestra',\n+];\n+\n+for (var i = 0; i < installedApps.length; i++) {\n+  files.scripts.push(installedApps[i] + '/static/**/*.js');\n+  files.scripts.push('!' + installedApps[i] + '/static/**/*.min.js');\n+}\n+\n+\n+gulp.task('default', ['build', 'watch']);\n+// TODO(joshblum): add lint after fixing errors\n+gulp.task('build', ['scss', 'scripts']);\n+\n+gulp.task('scss', function() {\n+  return gulp.src(files.scss)\n+    .pipe(sass())\n+    .pipe(gulp.dest(buildDestination));\n+});\n+\n+gulp.task('lint', function() {\n+  return gulp.src(files.scripts)\n+    .pipe(cache('scripts'))\n+    .pipe(jshint())\n+    .pipe(jshint.reporter(stylish))\n+    .pipe(jscs())\n+    .pipe(jscs.reporter())\n+});\n+\n+gulp.task('scripts', function() {\n+  return gulp.src(files.scripts)\n+    .pipe(cache('scripts'))\n+    .pipe(sourcemaps.init())\n+    .pipe(ngAnnotate())\n+    .pipe(uglify())\n+    .pipe(rename({\n+      suffix: '.min'\n+    }))\n+    .pipe(sourcemaps.write())\n+    .pipe(gulp.dest(buildDestination));\n+});\n+\n+gulp.task('watch', function() {\n+  gulp.watch(files.scss, ['scss']);","path":"gulpfile.js","position":74,"original_position":74,"commit_id":"ced8702b49e3fab4d4371bbf1b617e6727b15444","original_commit_id":"ced8702b49e3fab4d4371bbf1b617e6727b15444","user":{"login":"derek-schultz","id":1996521,"avatar_url":"https://avatars.githubusercontent.com/u/1996521?v=3","gravatar_id":"","url":"https://api.github.com/users/derek-schultz","html_url":"https://github.com/derek-schultz","followers_url":"https://api.github.com/users/derek-schultz/followers","following_url":"https://api.github.com/users/derek-schultz/following{/other_user}","gists_url":"https://api.github.com/users/derek-schultz/gists{/gist_id}","starred_url":"https://api.github.com/users/derek-schultz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derek-schultz/subscriptions","organizations_url":"https://api.github.com/users/derek-schultz/orgs","repos_url":"https://api.github.com/users/derek-schultz/repos","events_url":"https://api.github.com/users/derek-schultz/events{/privacy}","received_events_url":"https://api.github.com/users/derek-schultz/received_events","type":"User","site_admin":false},"body":"We need the same watch stuff here","created_at":"2016-03-28T21:34:22Z","updated_at":"2016-03-28T21:34:22Z","html_url":"https://github.com/unlimitedlabs/orchestra/pull/113#discussion_r57637800","pull_request_url":"https://api.github.com/repos/unlimitedlabs/orchestra/pulls/113","_links":{"self":{"href":"https://api.github.com/repos/unlimitedlabs/orchestra/pulls/comments/57637800"},"html":{"href":"https://github.com/unlimitedlabs/orchestra/pull/113#discussion_r57637800"},"pull_request":{"href":"https://api.github.com/repos/unlimitedlabs/orchestra/pulls/113"}}},"pull_request":{"url":"https://api.github.com/repos/unlimitedlabs/orchestra/pulls/113","id":64117411,"html_url":"https://github.com/unlimitedlabs/orchestra/pull/113","diff_url":"https://github.com/unlimitedlabs/orchestra/pull/113.diff","patch_url":"https://github.com/unlimitedlabs/orchestra/pull/113.patch","issue_url":"https://api.github.com/repos/unlimitedlabs/orchestra/issues/113","number":113,"state":"open","locked":false,"title":"Use gulp for building","user":{"login":"joshblum","id":1144020,"avatar_url":"https://avatars.githubusercontent.com/u/1144020?v=3","gravatar_id":"","url":"https://api.github.com/users/joshblum","html_url":"https://github.com/joshblum","followers_url":"https://api.github.com/users/joshblum/followers","following_url":"https://api.github.com/users/joshblum/following{/other_user}","gists_url":"https://api.github.com/users/joshblum/gists{/gist_id}","starred_url":"https://api.github.com/users/joshblum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshblum/subscriptions","organizations_url":"https://api.github.com/users/joshblum/orgs","repos_url":"https://api.github.com/users/joshblum/repos","events_url":"https://api.github.com/users/joshblum/events{/privacy}","received_events_url":"https://api.github.com/users/joshblum/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-03-25T00:18:34Z","updated_at":"2016-03-28T21:34:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ec2f30f731bcefcfe1a4b9f01eae20f0f6afd0a5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/unlimitedlabs/orchestra/pulls/113/commits","review_comments_url":"https://api.github.com/repos/unlimitedlabs/orchestra/pulls/113/comments","review_comment_url":"https://api.github.com/repos/unlimitedlabs/orchestra/pulls/comments{/number}","comments_url":"https://api.github.com/repos/unlimitedlabs/orchestra/issues/113/comments","statuses_url":"https://api.github.com/repos/unlimitedlabs/orchestra/statuses/ced8702b49e3fab4d4371bbf1b617e6727b15444","head":{"label":"unlimitedlabs:gulp","ref":"gulp","sha":"ced8702b49e3fab4d4371bbf1b617e6727b15444","user":{"login":"unlimitedlabs","id":12401025,"avatar_url":"https://avatars.githubusercontent.com/u/12401025?v=3","gravatar_id":"","url":"https://api.github.com/users/unlimitedlabs","html_url":"https://github.com/unlimitedlabs","followers_url":"https://api.github.com/users/unlimitedlabs/followers","following_url":"https://api.github.com/users/unlimitedlabs/following{/other_user}","gists_url":"https://api.github.com/users/unlimitedlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/unlimitedlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unlimitedlabs/subscriptions","organizations_url":"https://api.github.com/users/unlimitedlabs/orgs","repos_url":"https://api.github.com/users/unlimitedlabs/repos","events_url":"https://api.github.com/users/unlimitedlabs/events{/privacy}","received_events_url":"https://api.github.com/users/unlimitedlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":42593972,"name":"orchestra","full_name":"unlimitedlabs/orchestra","owner":{"login":"unlimitedlabs","id":12401025,"avatar_url":"https://avatars.githubusercontent.com/u/12401025?v=3","gravatar_id":"","url":"https://api.github.com/users/unlimitedlabs","html_url":"https://github.com/unlimitedlabs","followers_url":"https://api.github.com/users/unlimitedlabs/followers","following_url":"https://api.github.com/users/unlimitedlabs/following{/other_user}","gists_url":"https://api.github.com/users/unlimitedlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/unlimitedlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unlimitedlabs/subscriptions","organizations_url":"https://api.github.com/users/unlimitedlabs/orgs","repos_url":"https://api.github.com/users/unlimitedlabs/repos","events_url":"https://api.github.com/users/unlimitedlabs/events{/privacy}","received_events_url":"https://api.github.com/users/unlimitedlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/unlimitedlabs/orchestra","description":"Orchestra is a system for orchestrating project teams of experts and machines.","fork":false,"url":"https://api.github.com/repos/unlimitedlabs/orchestra","forks_url":"https://api.github.com/repos/unlimitedlabs/orchestra/forks","keys_url":"https://api.github.com/repos/unlimitedlabs/orchestra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/unlimitedlabs/orchestra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/unlimitedlabs/orchestra/teams","hooks_url":"https://api.github.com/repos/unlimitedlabs/orchestra/hooks","issue_events_url":"https://api.github.com/repos/unlimitedlabs/orchestra/issues/events{/number}","events_url":"https://api.github.com/repos/unlimitedlabs/orchestra/events","assignees_url":"https://api.github.com/repos/unlimitedlabs/orchestra/assignees{/user}","branches_url":"https://api.github.com/repos/unlimitedlabs/orchestra/branches{/branch}","tags_url":"https://api.github.com/repos/unlimitedlabs/orchestra/tags","blobs_url":"https://api.github.com/repos/unlimitedlabs/orchestra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/unlimitedlabs/orchestra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/unlimitedlabs/orchestra/git/refs{/sha}","trees_url":"https://api.github.com/repos/unlimitedlabs/orchestra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/unlimitedlabs/orchestra/statuses/{sha}","languages_url":"https://api.github.com/repos/unlimitedlabs/orchestra/languages","stargazers_url":"https://api.github.com/repos/unlimitedlabs/orchestra/stargazers","contributors_url":"https://api.github.com/repos/unlimitedlabs/orchestra/contributors","subscribers_url":"https://api.github.com/repos/unlimitedlabs/orchestra/subscribers","subscription_url":"https://api.github.com/repos/unlimitedlabs/orchestra/subscription","commits_url":"https://api.github.com/repos/unlimitedlabs/orchestra/commits{/sha}","git_commits_url":"https://api.github.com/repos/unlimitedlabs/orchestra/git/commits{/sha}","comments_url":"https://api.github.com/repos/unlimitedlabs/orchestra/comments{/number}","issue_comment_url":"https://api.github.com/repos/unlimitedlabs/orchestra/issues/comments{/number}","contents_url":"https://api.github.com/repos/unlimitedlabs/orchestra/contents/{+path}","compare_url":"https://api.github.com/repos/unlimitedlabs/orchestra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/unlimitedlabs/orchestra/merges","archive_url":"https://api.github.com/repos/unlimitedlabs/orchestra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/unlimitedlabs/orchestra/downloads","issues_url":"https://api.github.com/repos/unlimitedlabs/orchestra/issues{/number}","pulls_url":"https://api.github.com/repos/unlimitedlabs/orchestra/pulls{/number}","milestones_url":"https://api.github.com/repos/unlimitedlabs/orchestra/milestones{/number}","notifications_url":"https://api.github.com/repos/unlimitedlabs/orchestra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/unlimitedlabs/orchestra/labels{/name}","releases_url":"https://api.github.com/repos/unlimitedlabs/orchestra/releases{/id}","deployments_url":"https://api.github.com/repos/unlimitedlabs/orchestra/deployments","created_at":"2015-09-16T14:55:16Z","updated_at":"2016-03-23T15:53:30Z","pushed_at":"2016-03-28T15:50:13Z","git_url":"git://github.com/unlimitedlabs/orchestra.git","ssh_url":"git@github.com:unlimitedlabs/orchestra.git","clone_url":"https://github.com/unlimitedlabs/orchestra.git","svn_url":"https://github.com/unlimitedlabs/orchestra","homepage":"http://orchestra.unlimitedlabs.com/","size":6560,"stargazers_count":220,"watchers_count":220,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":32,"forks":16,"open_issues":32,"watchers":220,"default_branch":"master"}},"base":{"label":"unlimitedlabs:master","ref":"master","sha":"87f934623984e81bb9e059211ceff2dac9b24bb4","user":{"login":"unlimitedlabs","id":12401025,"avatar_url":"https://avatars.githubusercontent.com/u/12401025?v=3","gravatar_id":"","url":"https://api.github.com/users/unlimitedlabs","html_url":"https://github.com/unlimitedlabs","followers_url":"https://api.github.com/users/unlimitedlabs/followers","following_url":"https://api.github.com/users/unlimitedlabs/following{/other_user}","gists_url":"https://api.github.com/users/unlimitedlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/unlimitedlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unlimitedlabs/subscriptions","organizations_url":"https://api.github.com/users/unlimitedlabs/orgs","repos_url":"https://api.github.com/users/unlimitedlabs/repos","events_url":"https://api.github.com/users/unlimitedlabs/events{/privacy}","received_events_url":"https://api.github.com/users/unlimitedlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":42593972,"name":"orchestra","full_name":"unlimitedlabs/orchestra","owner":{"login":"unlimitedlabs","id":12401025,"avatar_url":"https://avatars.githubusercontent.com/u/12401025?v=3","gravatar_id":"","url":"https://api.github.com/users/unlimitedlabs","html_url":"https://github.com/unlimitedlabs","followers_url":"https://api.github.com/users/unlimitedlabs/followers","following_url":"https://api.github.com/users/unlimitedlabs/following{/other_user}","gists_url":"https://api.github.com/users/unlimitedlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/unlimitedlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unlimitedlabs/subscriptions","organizations_url":"https://api.github.com/users/unlimitedlabs/orgs","repos_url":"https://api.github.com/users/unlimitedlabs/repos","events_url":"https://api.github.com/users/unlimitedlabs/events{/privacy}","received_events_url":"https://api.github.com/users/unlimitedlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/unlimitedlabs/orchestra","description":"Orchestra is a system for orchestrating project teams of experts and machines.","fork":false,"url":"https://api.github.com/repos/unlimitedlabs/orchestra","forks_url":"https://api.github.com/repos/unlimitedlabs/orchestra/forks","keys_url":"https://api.github.com/repos/unlimitedlabs/orchestra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/unlimitedlabs/orchestra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/unlimitedlabs/orchestra/teams","hooks_url":"https://api.github.com/repos/unlimitedlabs/orchestra/hooks","issue_events_url":"https://api.github.com/repos/unlimitedlabs/orchestra/issues/events{/number}","events_url":"https://api.github.com/repos/unlimitedlabs/orchestra/events","assignees_url":"https://api.github.com/repos/unlimitedlabs/orchestra/assignees{/user}","branches_url":"https://api.github.com/repos/unlimitedlabs/orchestra/branches{/branch}","tags_url":"https://api.github.com/repos/unlimitedlabs/orchestra/tags","blobs_url":"https://api.github.com/repos/unlimitedlabs/orchestra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/unlimitedlabs/orchestra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/unlimitedlabs/orchestra/git/refs{/sha}","trees_url":"https://api.github.com/repos/unlimitedlabs/orchestra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/unlimitedlabs/orchestra/statuses/{sha}","languages_url":"https://api.github.com/repos/unlimitedlabs/orchestra/languages","stargazers_url":"https://api.github.com/repos/unlimitedlabs/orchestra/stargazers","contributors_url":"https://api.github.com/repos/unlimitedlabs/orchestra/contributors","subscribers_url":"https://api.github.com/repos/unlimitedlabs/orchestra/subscribers","subscription_url":"https://api.github.com/repos/unlimitedlabs/orchestra/subscription","commits_url":"https://api.github.com/repos/unlimitedlabs/orchestra/commits{/sha}","git_commits_url":"https://api.github.com/repos/unlimitedlabs/orchestra/git/commits{/sha}","comments_url":"https://api.github.com/repos/unlimitedlabs/orchestra/comments{/number}","issue_comment_url":"https://api.github.com/repos/unlimitedlabs/orchestra/issues/comments{/number}","contents_url":"https://api.github.com/repos/unlimitedlabs/orchestra/contents/{+path}","compare_url":"https://api.github.com/repos/unlimitedlabs/orchestra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/unlimitedlabs/orchestra/merges","archive_url":"https://api.github.com/repos/unlimitedlabs/orchestra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/unlimitedlabs/orchestra/downloads","issues_url":"https://api.github.com/repos/unlimitedlabs/orchestra/issues{/number}","pulls_url":"https://api.github.com/repos/unlimitedlabs/orchestra/pulls{/number}","milestones_url":"https://api.github.com/repos/unlimitedlabs/orchestra/milestones{/number}","notifications_url":"https://api.github.com/repos/unlimitedlabs/orchestra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/unlimitedlabs/orchestra/labels{/name}","releases_url":"https://api.github.com/repos/unlimitedlabs/orchestra/releases{/id}","deployments_url":"https://api.github.com/repos/unlimitedlabs/orchestra/deployments","created_at":"2015-09-16T14:55:16Z","updated_at":"2016-03-23T15:53:30Z","pushed_at":"2016-03-28T15:50:13Z","git_url":"git://github.com/unlimitedlabs/orchestra.git","ssh_url":"git@github.com:unlimitedlabs/orchestra.git","clone_url":"https://github.com/unlimitedlabs/orchestra.git","svn_url":"https://github.com/unlimitedlabs/orchestra","homepage":"http://orchestra.unlimitedlabs.com/","size":6560,"stargazers_count":220,"watchers_count":220,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":32,"forks":16,"open_issues":32,"watchers":220,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/unlimitedlabs/orchestra/pulls/113"},"html":{"href":"https://github.com/unlimitedlabs/orchestra/pull/113"},"issue":{"href":"https://api.github.com/repos/unlimitedlabs/orchestra/issues/113"},"comments":{"href":"https://api.github.com/repos/unlimitedlabs/orchestra/issues/113/comments"},"review_comments":{"href":"https://api.github.com/repos/unlimitedlabs/orchestra/pulls/113/comments"},"review_comment":{"href":"https://api.github.com/repos/unlimitedlabs/orchestra/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/unlimitedlabs/orchestra/pulls/113/commits"},"statuses":{"href":"https://api.github.com/repos/unlimitedlabs/orchestra/statuses/ced8702b49e3fab4d4371bbf1b617e6727b15444"}}}}