{"action":"created","comment":{"url":"https://api.github.com/repos/cozy/cozy-files-v3/pulls/comments/95410867","pull_request_review_id":15964447,"id":95410867,"diff_hunk":"@@ -2,14 +2,16 @@\n \n const path = require('path')\n const fs = require('fs')\n+const mobile = process.env.MOBILE || false\n+const outputFolder = mobile ? 'mobile/www' : 'build'\n \n module.exports = {\n   plugins: [\n     // Extracts Hash in external file for reference\n     function () {\n       this.plugin('done', (stats) => {\n         fs.writeFileSync(\n-          path.join(__dirname, '../build/assets.json'),\n+          path.join(__dirname, '../' + outputFolder + '/assets.json'),","path":"config/webpack.hash.config.js","position":null,"original_position":14,"commit_id":"3fd86135d56bb8fe0333db1048f9b4d43571fe5a","original_commit_id":"7445aa43d64e5a3f3a81b76b7ce584df0604d393","user":{"login":"kosssi","id":1135513,"avatar_url":"https://avatars.githubusercontent.com/u/1135513?v=3","gravatar_id":"","url":"https://api.github.com/users/kosssi","html_url":"https://github.com/kosssi","followers_url":"https://api.github.com/users/kosssi/followers","following_url":"https://api.github.com/users/kosssi/following{/other_user}","gists_url":"https://api.github.com/users/kosssi/gists{/gist_id}","starred_url":"https://api.github.com/users/kosssi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kosssi/subscriptions","organizations_url":"https://api.github.com/users/kosssi/orgs","repos_url":"https://api.github.com/users/kosssi/repos","events_url":"https://api.github.com/users/kosssi/events{/privacy}","received_events_url":"https://api.github.com/users/kosssi/received_events","type":"User","site_admin":false},"body":"done","created_at":"2017-01-10T17:09:50Z","updated_at":"2017-01-10T17:10:00Z","html_url":"https://github.com/cozy/cozy-files-v3/pull/16#discussion_r95410867","pull_request_url":"https://api.github.com/repos/cozy/cozy-files-v3/pulls/16","_links":{"self":{"href":"https://api.github.com/repos/cozy/cozy-files-v3/pulls/comments/95410867"},"html":{"href":"https://github.com/cozy/cozy-files-v3/pull/16#discussion_r95410867"},"pull_request":{"href":"https://api.github.com/repos/cozy/cozy-files-v3/pulls/16"}}},"pull_request":{"url":"https://api.github.com/repos/cozy/cozy-files-v3/pulls/16","id":100458062,"html_url":"https://github.com/cozy/cozy-files-v3/pull/16","diff_url":"https://github.com/cozy/cozy-files-v3/pull/16.diff","patch_url":"https://github.com/cozy/cozy-files-v3/pull/16.patch","issue_url":"https://api.github.com/repos/cozy/cozy-files-v3/issues/16","number":16,"state":"open","locked":false,"title":"Add cozy mobile build :tada:","user":{"login":"kosssi","id":1135513,"avatar_url":"https://avatars.githubusercontent.com/u/1135513?v=3","gravatar_id":"","url":"https://api.github.com/users/kosssi","html_url":"https://github.com/kosssi","followers_url":"https://api.github.com/users/kosssi/followers","following_url":"https://api.github.com/users/kosssi/following{/other_user}","gists_url":"https://api.github.com/users/kosssi/gists{/gist_id}","starred_url":"https://api.github.com/users/kosssi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kosssi/subscriptions","organizations_url":"https://api.github.com/users/kosssi/orgs","repos_url":"https://api.github.com/users/kosssi/repos","events_url":"https://api.github.com/users/kosssi/events{/privacy}","received_events_url":"https://api.github.com/users/kosssi/received_events","type":"User","site_admin":false},"body":"- [x] Add specific .gitignore\r\n- [x] Add new page only on mobile\r\n- [x] Update build\r\n- [x] Add documentation to mobile part\r\n- [x] Add Android build on Travis\r\n- [x] Mutualise mobile main.jsx and front main.jsx\r\n","created_at":"2017-01-06T13:19:42Z","updated_at":"2017-01-10T17:10:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"93f6b59b3179fa0b71252203c2a29f7172a8acb0","assignee":{"login":"kosssi","id":1135513,"avatar_url":"https://avatars.githubusercontent.com/u/1135513?v=3","gravatar_id":"","url":"https://api.github.com/users/kosssi","html_url":"https://github.com/kosssi","followers_url":"https://api.github.com/users/kosssi/followers","following_url":"https://api.github.com/users/kosssi/following{/other_user}","gists_url":"https://api.github.com/users/kosssi/gists{/gist_id}","starred_url":"https://api.github.com/users/kosssi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kosssi/subscriptions","organizations_url":"https://api.github.com/users/kosssi/orgs","repos_url":"https://api.github.com/users/kosssi/repos","events_url":"https://api.github.com/users/kosssi/events{/privacy}","received_events_url":"https://api.github.com/users/kosssi/received_events","type":"User","site_admin":false},"assignees":[{"login":"kosssi","id":1135513,"avatar_url":"https://avatars.githubusercontent.com/u/1135513?v=3","gravatar_id":"","url":"https://api.github.com/users/kosssi","html_url":"https://github.com/kosssi","followers_url":"https://api.github.com/users/kosssi/followers","following_url":"https://api.github.com/users/kosssi/following{/other_user}","gists_url":"https://api.github.com/users/kosssi/gists{/gist_id}","starred_url":"https://api.github.com/users/kosssi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kosssi/subscriptions","organizations_url":"https://api.github.com/users/kosssi/orgs","repos_url":"https://api.github.com/users/kosssi/repos","events_url":"https://api.github.com/users/kosssi/events{/privacy}","received_events_url":"https://api.github.com/users/kosssi/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/cozy/cozy-files-v3/pulls/16/commits","review_comments_url":"https://api.github.com/repos/cozy/cozy-files-v3/pulls/16/comments","review_comment_url":"https://api.github.com/repos/cozy/cozy-files-v3/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cozy/cozy-files-v3/issues/16/comments","statuses_url":"https://api.github.com/repos/cozy/cozy-files-v3/statuses/3fd86135d56bb8fe0333db1048f9b4d43571fe5a","head":{"label":"kosssi:feature/mobile","ref":"feature/mobile","sha":"3fd86135d56bb8fe0333db1048f9b4d43571fe5a","user":{"login":"kosssi","id":1135513,"avatar_url":"https://avatars.githubusercontent.com/u/1135513?v=3","gravatar_id":"","url":"https://api.github.com/users/kosssi","html_url":"https://github.com/kosssi","followers_url":"https://api.github.com/users/kosssi/followers","following_url":"https://api.github.com/users/kosssi/following{/other_user}","gists_url":"https://api.github.com/users/kosssi/gists{/gist_id}","starred_url":"https://api.github.com/users/kosssi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kosssi/subscriptions","organizations_url":"https://api.github.com/users/kosssi/orgs","repos_url":"https://api.github.com/users/kosssi/repos","events_url":"https://api.github.com/users/kosssi/events{/privacy}","received_events_url":"https://api.github.com/users/kosssi/received_events","type":"User","site_admin":false},"repo":{"id":78206956,"name":"cozy-files-v3","full_name":"kosssi/cozy-files-v3","owner":{"login":"kosssi","id":1135513,"avatar_url":"https://avatars.githubusercontent.com/u/1135513?v=3","gravatar_id":"","url":"https://api.github.com/users/kosssi","html_url":"https://github.com/kosssi","followers_url":"https://api.github.com/users/kosssi/followers","following_url":"https://api.github.com/users/kosssi/following{/other_user}","gists_url":"https://api.github.com/users/kosssi/gists{/gist_id}","starred_url":"https://api.github.com/users/kosssi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kosssi/subscriptions","organizations_url":"https://api.github.com/users/kosssi/orgs","repos_url":"https://api.github.com/users/kosssi/repos","events_url":"https://api.github.com/users/kosssi/events{/privacy}","received_events_url":"https://api.github.com/users/kosssi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kosssi/cozy-files-v3","description":"Cozy Files app for Cozy Cloud","fork":true,"url":"https://api.github.com/repos/kosssi/cozy-files-v3","forks_url":"https://api.github.com/repos/kosssi/cozy-files-v3/forks","keys_url":"https://api.github.com/repos/kosssi/cozy-files-v3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kosssi/cozy-files-v3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kosssi/cozy-files-v3/teams","hooks_url":"https://api.github.com/repos/kosssi/cozy-files-v3/hooks","issue_events_url":"https://api.github.com/repos/kosssi/cozy-files-v3/issues/events{/number}","events_url":"https://api.github.com/repos/kosssi/cozy-files-v3/events","assignees_url":"https://api.github.com/repos/kosssi/cozy-files-v3/assignees{/user}","branches_url":"https://api.github.com/repos/kosssi/cozy-files-v3/branches{/branch}","tags_url":"https://api.github.com/repos/kosssi/cozy-files-v3/tags","blobs_url":"https://api.github.com/repos/kosssi/cozy-files-v3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kosssi/cozy-files-v3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kosssi/cozy-files-v3/git/refs{/sha}","trees_url":"https://api.github.com/repos/kosssi/cozy-files-v3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kosssi/cozy-files-v3/statuses/{sha}","languages_url":"https://api.github.com/repos/kosssi/cozy-files-v3/languages","stargazers_url":"https://api.github.com/repos/kosssi/cozy-files-v3/stargazers","contributors_url":"https://api.github.com/repos/kosssi/cozy-files-v3/contributors","subscribers_url":"https://api.github.com/repos/kosssi/cozy-files-v3/subscribers","subscription_url":"https://api.github.com/repos/kosssi/cozy-files-v3/subscription","commits_url":"https://api.github.com/repos/kosssi/cozy-files-v3/commits{/sha}","git_commits_url":"https://api.github.com/repos/kosssi/cozy-files-v3/git/commits{/sha}","comments_url":"https://api.github.com/repos/kosssi/cozy-files-v3/comments{/number}","issue_comment_url":"https://api.github.com/repos/kosssi/cozy-files-v3/issues/comments{/number}","contents_url":"https://api.github.com/repos/kosssi/cozy-files-v3/contents/{+path}","compare_url":"https://api.github.com/repos/kosssi/cozy-files-v3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kosssi/cozy-files-v3/merges","archive_url":"https://api.github.com/repos/kosssi/cozy-files-v3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kosssi/cozy-files-v3/downloads","issues_url":"https://api.github.com/repos/kosssi/cozy-files-v3/issues{/number}","pulls_url":"https://api.github.com/repos/kosssi/cozy-files-v3/pulls{/number}","milestones_url":"https://api.github.com/repos/kosssi/cozy-files-v3/milestones{/number}","notifications_url":"https://api.github.com/repos/kosssi/cozy-files-v3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kosssi/cozy-files-v3/labels{/name}","releases_url":"https://api.github.com/repos/kosssi/cozy-files-v3/releases{/id}","deployments_url":"https://api.github.com/repos/kosssi/cozy-files-v3/deployments","created_at":"2017-01-06T13:11:25Z","updated_at":"2017-01-06T13:11:27Z","pushed_at":"2017-01-10T17:00:10Z","git_url":"git://github.com/kosssi/cozy-files-v3.git","ssh_url":"git@github.com:kosssi/cozy-files-v3.git","clone_url":"https://github.com/kosssi/cozy-files-v3.git","svn_url":"https://github.com/kosssi/cozy-files-v3","homepage":null,"size":805,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"cozy:master","ref":"master","sha":"5242757262009e4b1bfbe01cf534fcebdb21947a","user":{"login":"cozy","id":7690525,"avatar_url":"https://avatars.githubusercontent.com/u/7690525?v=3","gravatar_id":"","url":"https://api.github.com/users/cozy","html_url":"https://github.com/cozy","followers_url":"https://api.github.com/users/cozy/followers","following_url":"https://api.github.com/users/cozy/following{/other_user}","gists_url":"https://api.github.com/users/cozy/gists{/gist_id}","starred_url":"https://api.github.com/users/cozy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cozy/subscriptions","organizations_url":"https://api.github.com/users/cozy/orgs","repos_url":"https://api.github.com/users/cozy/repos","events_url":"https://api.github.com/users/cozy/events{/privacy}","received_events_url":"https://api.github.com/users/cozy/received_events","type":"Organization","site_admin":false},"repo":{"id":76205055,"name":"cozy-files-v3","full_name":"cozy/cozy-files-v3","owner":{"login":"cozy","id":7690525,"avatar_url":"https://avatars.githubusercontent.com/u/7690525?v=3","gravatar_id":"","url":"https://api.github.com/users/cozy","html_url":"https://github.com/cozy","followers_url":"https://api.github.com/users/cozy/followers","following_url":"https://api.github.com/users/cozy/following{/other_user}","gists_url":"https://api.github.com/users/cozy/gists{/gist_id}","starred_url":"https://api.github.com/users/cozy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cozy/subscriptions","organizations_url":"https://api.github.com/users/cozy/orgs","repos_url":"https://api.github.com/users/cozy/repos","events_url":"https://api.github.com/users/cozy/events{/privacy}","received_events_url":"https://api.github.com/users/cozy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cozy/cozy-files-v3","description":"Cozy Files app for Cozy Cloud","fork":false,"url":"https://api.github.com/repos/cozy/cozy-files-v3","forks_url":"https://api.github.com/repos/cozy/cozy-files-v3/forks","keys_url":"https://api.github.com/repos/cozy/cozy-files-v3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cozy/cozy-files-v3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cozy/cozy-files-v3/teams","hooks_url":"https://api.github.com/repos/cozy/cozy-files-v3/hooks","issue_events_url":"https://api.github.com/repos/cozy/cozy-files-v3/issues/events{/number}","events_url":"https://api.github.com/repos/cozy/cozy-files-v3/events","assignees_url":"https://api.github.com/repos/cozy/cozy-files-v3/assignees{/user}","branches_url":"https://api.github.com/repos/cozy/cozy-files-v3/branches{/branch}","tags_url":"https://api.github.com/repos/cozy/cozy-files-v3/tags","blobs_url":"https://api.github.com/repos/cozy/cozy-files-v3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cozy/cozy-files-v3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cozy/cozy-files-v3/git/refs{/sha}","trees_url":"https://api.github.com/repos/cozy/cozy-files-v3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cozy/cozy-files-v3/statuses/{sha}","languages_url":"https://api.github.com/repos/cozy/cozy-files-v3/languages","stargazers_url":"https://api.github.com/repos/cozy/cozy-files-v3/stargazers","contributors_url":"https://api.github.com/repos/cozy/cozy-files-v3/contributors","subscribers_url":"https://api.github.com/repos/cozy/cozy-files-v3/subscribers","subscription_url":"https://api.github.com/repos/cozy/cozy-files-v3/subscription","commits_url":"https://api.github.com/repos/cozy/cozy-files-v3/commits{/sha}","git_commits_url":"https://api.github.com/repos/cozy/cozy-files-v3/git/commits{/sha}","comments_url":"https://api.github.com/repos/cozy/cozy-files-v3/comments{/number}","issue_comment_url":"https://api.github.com/repos/cozy/cozy-files-v3/issues/comments{/number}","contents_url":"https://api.github.com/repos/cozy/cozy-files-v3/contents/{+path}","compare_url":"https://api.github.com/repos/cozy/cozy-files-v3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cozy/cozy-files-v3/merges","archive_url":"https://api.github.com/repos/cozy/cozy-files-v3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cozy/cozy-files-v3/downloads","issues_url":"https://api.github.com/repos/cozy/cozy-files-v3/issues{/number}","pulls_url":"https://api.github.com/repos/cozy/cozy-files-v3/pulls{/number}","milestones_url":"https://api.github.com/repos/cozy/cozy-files-v3/milestones{/number}","notifications_url":"https://api.github.com/repos/cozy/cozy-files-v3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cozy/cozy-files-v3/labels{/name}","releases_url":"https://api.github.com/repos/cozy/cozy-files-v3/releases{/id}","deployments_url":"https://api.github.com/repos/cozy/cozy-files-v3/deployments","created_at":"2016-12-11T22:51:29Z","updated_at":"2017-01-06T12:29:26Z","pushed_at":"2017-01-10T17:00:12Z","git_url":"git://github.com/cozy/cozy-files-v3.git","ssh_url":"git@github.com:cozy/cozy-files-v3.git","clone_url":"https://github.com/cozy/cozy-files-v3.git","svn_url":"https://github.com/cozy/cozy-files-v3","homepage":null,"size":2184,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":2,"forks":8,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cozy/cozy-files-v3/pulls/16"},"html":{"href":"https://github.com/cozy/cozy-files-v3/pull/16"},"issue":{"href":"https://api.github.com/repos/cozy/cozy-files-v3/issues/16"},"comments":{"href":"https://api.github.com/repos/cozy/cozy-files-v3/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/cozy/cozy-files-v3/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/cozy/cozy-files-v3/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cozy/cozy-files-v3/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/cozy/cozy-files-v3/statuses/3fd86135d56bb8fe0333db1048f9b4d43571fe5a"}}}}
{"actor":{"display_login":"kosssi"}}