{"action":"created","comment":{"url":"https://api.github.com/repos/inaka/xref_runner/pulls/comments/60472872","id":60472872,"diff_hunk":"@@ -50,6 +52,47 @@ not_xref_register_himself(_Config) ->\n   spawn(xref_runner, check, [deprecated_functions, Config]),\n   {comment, \"\"}.\n \n+-spec check_rebar3_build(config()) -> {comment, string()}.\n+check_rebar3_build(_Config) ->\n+  Path = \"../../test/examples/erlang-repo\",\n+  ct:comment(\"It runs\"),\n+  {ok, OldCwd} = file:get_cwd(),\n+  file:set_cwd(Path),\n+  RepoName = \"erlang-repo\",\n+  rebar3_clean(RepoName),\n+  rebar3_compile(RepoName),\n+  [] = xref_runner:check(),\n+  file:set_cwd(OldCwd),\n+  {comment, \"\"}.\n+\n+-spec check_rebar3_build_fail(config()) -> {comment, string()}.\n+check_rebar3_build_fail(_Config) ->\n+  Path = \"../../test/examples/erlang-repo-fail\",\n+  ct:comment(\"It runs\"),\n+  {ok, OldCwd} = file:get_cwd(),\n+  file:set_cwd(Path),\n+  RepoName = \"erlang-repo-fail\",\n+  rebar3_clean(RepoName),\n+  rebar3_compile(RepoName), ","path":"test/xref_runner_SUITE.erl","position":34,"original_position":34,"commit_id":"458818d5a4f7b3149df267df11ce7859625ba1c0","original_commit_id":"458818d5a4f7b3149df267df11ce7859625ba1c0","user":{"login":"gadgetci","id":10134338,"avatar_url":"https://avatars.githubusercontent.com/u/10134338?v=3","gravatar_id":"","url":"https://api.github.com/users/gadgetci","html_url":"https://github.com/gadgetci","followers_url":"https://api.github.com/users/gadgetci/followers","following_url":"https://api.github.com/users/gadgetci/following{/other_user}","gists_url":"https://api.github.com/users/gadgetci/gists{/gist_id}","starred_url":"https://api.github.com/users/gadgetci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gadgetci/subscriptions","organizations_url":"https://api.github.com/users/gadgetci/orgs","repos_url":"https://api.github.com/users/gadgetci/repos","events_url":"https://api.github.com/users/gadgetci/events{/privacy}","received_events_url":"https://api.github.com/users/gadgetci/received_events","type":"User","site_admin":false},"body":"According to **Elvis**:\n> Line 76 has 1 trailing whitespace characters.","created_at":"2016-04-20T19:32:23Z","updated_at":"2016-04-20T19:32:23Z","html_url":"https://github.com/inaka/xref_runner/pull/51#discussion_r60472872","pull_request_url":"https://api.github.com/repos/inaka/xref_runner/pulls/51","_links":{"self":{"href":"https://api.github.com/repos/inaka/xref_runner/pulls/comments/60472872"},"html":{"href":"https://github.com/inaka/xref_runner/pull/51#discussion_r60472872"},"pull_request":{"href":"https://api.github.com/repos/inaka/xref_runner/pulls/51"}}},"pull_request":{"url":"https://api.github.com/repos/inaka/xref_runner/pulls/51","id":67244839,"html_url":"https://github.com/inaka/xref_runner/pull/51","diff_url":"https://github.com/inaka/xref_runner/pull/51.diff","patch_url":"https://github.com/inaka/xref_runner/pull/51.patch","issue_url":"https://api.github.com/repos/inaka/xref_runner/issues/51","number":51,"state":"open","locked":false,"title":"[#50] Added rebar3 support","user":{"login":"davecaos","id":6124495,"avatar_url":"https://avatars.githubusercontent.com/u/6124495?v=3","gravatar_id":"","url":"https://api.github.com/users/davecaos","html_url":"https://github.com/davecaos","followers_url":"https://api.github.com/users/davecaos/followers","following_url":"https://api.github.com/users/davecaos/following{/other_user}","gists_url":"https://api.github.com/users/davecaos/gists{/gist_id}","starred_url":"https://api.github.com/users/davecaos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davecaos/subscriptions","organizations_url":"https://api.github.com/users/davecaos/orgs","repos_url":"https://api.github.com/users/davecaos/repos","events_url":"https://api.github.com/users/davecaos/events{/privacy}","received_events_url":"https://api.github.com/users/davecaos/received_events","type":"User","site_admin":false},"body":"Added rebar3 support , The repositories erlang-repo and erlang-repo-fail are only dummy repos for testing.","created_at":"2016-04-20T19:32:09Z","updated_at":"2016-04-20T19:32:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4f98d6e418e387cc73ed3b04229def93f26c1d70","assignee":{"login":"elbrujohalcon","id":93657,"avatar_url":"https://avatars.githubusercontent.com/u/93657?v=3","gravatar_id":"","url":"https://api.github.com/users/elbrujohalcon","html_url":"https://github.com/elbrujohalcon","followers_url":"https://api.github.com/users/elbrujohalcon/followers","following_url":"https://api.github.com/users/elbrujohalcon/following{/other_user}","gists_url":"https://api.github.com/users/elbrujohalcon/gists{/gist_id}","starred_url":"https://api.github.com/users/elbrujohalcon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elbrujohalcon/subscriptions","organizations_url":"https://api.github.com/users/elbrujohalcon/orgs","repos_url":"https://api.github.com/users/elbrujohalcon/repos","events_url":"https://api.github.com/users/elbrujohalcon/events{/privacy}","received_events_url":"https://api.github.com/users/elbrujohalcon/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/inaka/xref_runner/pulls/51/commits","review_comments_url":"https://api.github.com/repos/inaka/xref_runner/pulls/51/comments","review_comment_url":"https://api.github.com/repos/inaka/xref_runner/pulls/comments{/number}","comments_url":"https://api.github.com/repos/inaka/xref_runner/issues/51/comments","statuses_url":"https://api.github.com/repos/inaka/xref_runner/statuses/458818d5a4f7b3149df267df11ce7859625ba1c0","head":{"label":"inaka:euen.50.rebar3_support","ref":"euen.50.rebar3_support","sha":"458818d5a4f7b3149df267df11ce7859625ba1c0","user":{"login":"inaka","id":867053,"avatar_url":"https://avatars.githubusercontent.com/u/867053?v=3","gravatar_id":"","url":"https://api.github.com/users/inaka","html_url":"https://github.com/inaka","followers_url":"https://api.github.com/users/inaka/followers","following_url":"https://api.github.com/users/inaka/following{/other_user}","gists_url":"https://api.github.com/users/inaka/gists{/gist_id}","starred_url":"https://api.github.com/users/inaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inaka/subscriptions","organizations_url":"https://api.github.com/users/inaka/orgs","repos_url":"https://api.github.com/users/inaka/repos","events_url":"https://api.github.com/users/inaka/events{/privacy}","received_events_url":"https://api.github.com/users/inaka/received_events","type":"Organization","site_admin":false},"repo":{"id":30421608,"name":"xref_runner","full_name":"inaka/xref_runner","owner":{"login":"inaka","id":867053,"avatar_url":"https://avatars.githubusercontent.com/u/867053?v=3","gravatar_id":"","url":"https://api.github.com/users/inaka","html_url":"https://github.com/inaka","followers_url":"https://api.github.com/users/inaka/followers","following_url":"https://api.github.com/users/inaka/following{/other_user}","gists_url":"https://api.github.com/users/inaka/gists{/gist_id}","starred_url":"https://api.github.com/users/inaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inaka/subscriptions","organizations_url":"https://api.github.com/users/inaka/orgs","repos_url":"https://api.github.com/users/inaka/repos","events_url":"https://api.github.com/users/inaka/events{/privacy}","received_events_url":"https://api.github.com/users/inaka/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/inaka/xref_runner","description":"Erlang Xref Runner (inspired in rebar xref)","fork":false,"url":"https://api.github.com/repos/inaka/xref_runner","forks_url":"https://api.github.com/repos/inaka/xref_runner/forks","keys_url":"https://api.github.com/repos/inaka/xref_runner/keys{/key_id}","collaborators_url":"https://api.github.com/repos/inaka/xref_runner/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/inaka/xref_runner/teams","hooks_url":"https://api.github.com/repos/inaka/xref_runner/hooks","issue_events_url":"https://api.github.com/repos/inaka/xref_runner/issues/events{/number}","events_url":"https://api.github.com/repos/inaka/xref_runner/events","assignees_url":"https://api.github.com/repos/inaka/xref_runner/assignees{/user}","branches_url":"https://api.github.com/repos/inaka/xref_runner/branches{/branch}","tags_url":"https://api.github.com/repos/inaka/xref_runner/tags","blobs_url":"https://api.github.com/repos/inaka/xref_runner/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/inaka/xref_runner/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/inaka/xref_runner/git/refs{/sha}","trees_url":"https://api.github.com/repos/inaka/xref_runner/git/trees{/sha}","statuses_url":"https://api.github.com/repos/inaka/xref_runner/statuses/{sha}","languages_url":"https://api.github.com/repos/inaka/xref_runner/languages","stargazers_url":"https://api.github.com/repos/inaka/xref_runner/stargazers","contributors_url":"https://api.github.com/repos/inaka/xref_runner/contributors","subscribers_url":"https://api.github.com/repos/inaka/xref_runner/subscribers","subscription_url":"https://api.github.com/repos/inaka/xref_runner/subscription","commits_url":"https://api.github.com/repos/inaka/xref_runner/commits{/sha}","git_commits_url":"https://api.github.com/repos/inaka/xref_runner/git/commits{/sha}","comments_url":"https://api.github.com/repos/inaka/xref_runner/comments{/number}","issue_comment_url":"https://api.github.com/repos/inaka/xref_runner/issues/comments{/number}","contents_url":"https://api.github.com/repos/inaka/xref_runner/contents/{+path}","compare_url":"https://api.github.com/repos/inaka/xref_runner/compare/{base}...{head}","merges_url":"https://api.github.com/repos/inaka/xref_runner/merges","archive_url":"https://api.github.com/repos/inaka/xref_runner/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/inaka/xref_runner/downloads","issues_url":"https://api.github.com/repos/inaka/xref_runner/issues{/number}","pulls_url":"https://api.github.com/repos/inaka/xref_runner/pulls{/number}","milestones_url":"https://api.github.com/repos/inaka/xref_runner/milestones{/number}","notifications_url":"https://api.github.com/repos/inaka/xref_runner/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/inaka/xref_runner/labels{/name}","releases_url":"https://api.github.com/repos/inaka/xref_runner/releases{/id}","deployments_url":"https://api.github.com/repos/inaka/xref_runner/deployments","created_at":"2015-02-06T16:31:58Z","updated_at":"2016-03-18T06:00:19Z","pushed_at":"2016-04-20T19:32:09Z","git_url":"git://github.com/inaka/xref_runner.git","ssh_url":"git@github.com:inaka/xref_runner.git","clone_url":"https://github.com/inaka/xref_runner.git","svn_url":"https://github.com/inaka/xref_runner","homepage":"http://inaka.github.io/xref_runner","size":201,"stargazers_count":18,"watchers_count":18,"language":"Erlang","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3,"mirror_url":null,"open_issues_count":5,"forks":3,"open_issues":5,"watchers":18,"default_branch":"master"}},"base":{"label":"inaka:master","ref":"master","sha":"2deed570c37b99bb4874b917693d9a663c368f08","user":{"login":"inaka","id":867053,"avatar_url":"https://avatars.githubusercontent.com/u/867053?v=3","gravatar_id":"","url":"https://api.github.com/users/inaka","html_url":"https://github.com/inaka","followers_url":"https://api.github.com/users/inaka/followers","following_url":"https://api.github.com/users/inaka/following{/other_user}","gists_url":"https://api.github.com/users/inaka/gists{/gist_id}","starred_url":"https://api.github.com/users/inaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inaka/subscriptions","organizations_url":"https://api.github.com/users/inaka/orgs","repos_url":"https://api.github.com/users/inaka/repos","events_url":"https://api.github.com/users/inaka/events{/privacy}","received_events_url":"https://api.github.com/users/inaka/received_events","type":"Organization","site_admin":false},"repo":{"id":30421608,"name":"xref_runner","full_name":"inaka/xref_runner","owner":{"login":"inaka","id":867053,"avatar_url":"https://avatars.githubusercontent.com/u/867053?v=3","gravatar_id":"","url":"https://api.github.com/users/inaka","html_url":"https://github.com/inaka","followers_url":"https://api.github.com/users/inaka/followers","following_url":"https://api.github.com/users/inaka/following{/other_user}","gists_url":"https://api.github.com/users/inaka/gists{/gist_id}","starred_url":"https://api.github.com/users/inaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inaka/subscriptions","organizations_url":"https://api.github.com/users/inaka/orgs","repos_url":"https://api.github.com/users/inaka/repos","events_url":"https://api.github.com/users/inaka/events{/privacy}","received_events_url":"https://api.github.com/users/inaka/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/inaka/xref_runner","description":"Erlang Xref Runner (inspired in rebar xref)","fork":false,"url":"https://api.github.com/repos/inaka/xref_runner","forks_url":"https://api.github.com/repos/inaka/xref_runner/forks","keys_url":"https://api.github.com/repos/inaka/xref_runner/keys{/key_id}","collaborators_url":"https://api.github.com/repos/inaka/xref_runner/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/inaka/xref_runner/teams","hooks_url":"https://api.github.com/repos/inaka/xref_runner/hooks","issue_events_url":"https://api.github.com/repos/inaka/xref_runner/issues/events{/number}","events_url":"https://api.github.com/repos/inaka/xref_runner/events","assignees_url":"https://api.github.com/repos/inaka/xref_runner/assignees{/user}","branches_url":"https://api.github.com/repos/inaka/xref_runner/branches{/branch}","tags_url":"https://api.github.com/repos/inaka/xref_runner/tags","blobs_url":"https://api.github.com/repos/inaka/xref_runner/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/inaka/xref_runner/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/inaka/xref_runner/git/refs{/sha}","trees_url":"https://api.github.com/repos/inaka/xref_runner/git/trees{/sha}","statuses_url":"https://api.github.com/repos/inaka/xref_runner/statuses/{sha}","languages_url":"https://api.github.com/repos/inaka/xref_runner/languages","stargazers_url":"https://api.github.com/repos/inaka/xref_runner/stargazers","contributors_url":"https://api.github.com/repos/inaka/xref_runner/contributors","subscribers_url":"https://api.github.com/repos/inaka/xref_runner/subscribers","subscription_url":"https://api.github.com/repos/inaka/xref_runner/subscription","commits_url":"https://api.github.com/repos/inaka/xref_runner/commits{/sha}","git_commits_url":"https://api.github.com/repos/inaka/xref_runner/git/commits{/sha}","comments_url":"https://api.github.com/repos/inaka/xref_runner/comments{/number}","issue_comment_url":"https://api.github.com/repos/inaka/xref_runner/issues/comments{/number}","contents_url":"https://api.github.com/repos/inaka/xref_runner/contents/{+path}","compare_url":"https://api.github.com/repos/inaka/xref_runner/compare/{base}...{head}","merges_url":"https://api.github.com/repos/inaka/xref_runner/merges","archive_url":"https://api.github.com/repos/inaka/xref_runner/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/inaka/xref_runner/downloads","issues_url":"https://api.github.com/repos/inaka/xref_runner/issues{/number}","pulls_url":"https://api.github.com/repos/inaka/xref_runner/pulls{/number}","milestones_url":"https://api.github.com/repos/inaka/xref_runner/milestones{/number}","notifications_url":"https://api.github.com/repos/inaka/xref_runner/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/inaka/xref_runner/labels{/name}","releases_url":"https://api.github.com/repos/inaka/xref_runner/releases{/id}","deployments_url":"https://api.github.com/repos/inaka/xref_runner/deployments","created_at":"2015-02-06T16:31:58Z","updated_at":"2016-03-18T06:00:19Z","pushed_at":"2016-04-20T19:32:09Z","git_url":"git://github.com/inaka/xref_runner.git","ssh_url":"git@github.com:inaka/xref_runner.git","clone_url":"https://github.com/inaka/xref_runner.git","svn_url":"https://github.com/inaka/xref_runner","homepage":"http://inaka.github.io/xref_runner","size":201,"stargazers_count":18,"watchers_count":18,"language":"Erlang","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3,"mirror_url":null,"open_issues_count":5,"forks":3,"open_issues":5,"watchers":18,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/inaka/xref_runner/pulls/51"},"html":{"href":"https://github.com/inaka/xref_runner/pull/51"},"issue":{"href":"https://api.github.com/repos/inaka/xref_runner/issues/51"},"comments":{"href":"https://api.github.com/repos/inaka/xref_runner/issues/51/comments"},"review_comments":{"href":"https://api.github.com/repos/inaka/xref_runner/pulls/51/comments"},"review_comment":{"href":"https://api.github.com/repos/inaka/xref_runner/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/inaka/xref_runner/pulls/51/commits"},"statuses":{"href":"https://api.github.com/repos/inaka/xref_runner/statuses/458818d5a4f7b3149df267df11ce7859625ba1c0"}}}}