{"action":"created","comment":{"url":"https://api.github.com/repos/jcampbell05/xcake/pulls/comments/69434495","id":69434495,"diff_hunk":"@@ -1,4 +1,89 @@\n+require 'cork'\n+\n+# TODO: i18n this.\n+# TODO: Different modes depending on --verbose, and CI\n+# TODO: Split output and UI code into seperate concerns.\n module Xcake\n   class UI\n+    def self.register_ui_hooks\n+\n+      board = Cork::Board.new()\n+\n+      EventHooks.after_cakefile_init do\n+        board.notice 'Open Cakefile to edit and run xcake make to get your xcode project'\n+      end\n+\n+      EventHooks.before_cakefile_read do\n+        board.puts_indented '- Reading Cakefile'\n+      end\n+\n+      EventHooks.before_creating_xcode_project do\n+        board.puts_indented '- Creating Project'\n+      end\n+\n+      EventHooks.before_creating_target do |target|\n+        board.puts_indented \"- Creating #{target}\"\n+      end\n+\n+      EventHooks.before_resolving_project_structure do\n+        board.puts_indented \"- Resolving Project\"\n+      end\n+\n+      EventHooks.before_resolving_target_structure do |target|\n+        board.puts_indented \"- Resolving #{target}\"\n+      end\n+\n+      EventHooks.before_creating_build_configurations do |configurable|\n+        board.puts_indented \"- Creating build configurations for #{configurable}\"\n+      end\n+\n+      EventHooks.before_creating_build_configuration do |configuration, configurable|\n+        board.puts_indented \"- Creating build configuration #{configuration.name} for #{configurable}\"\n+      end\n+\n+      EventHooks.before_attaching_xcconfig do |configuration|\n+        board.puts_indented \"- Attaching XCConfig #{configuration.configuration_file} to build configuration #{configuration.name}\"\n+      end\n+\n+      EventHooks.before_adding_system_library do |target|\n+        board.puts_indented \"- Integrating System Libraries #{target.system_libraries} for #{target}\"\n+      end\n+\n+      EventHooks.before_adding_system_library do |target|\n+        board.puts_indented \"- Integrating System Libraries #{target.system_libraries} for #{target}\"\n+      end\n+\n+      EventHooks.before_adding_system_framework do |target|\n+        board.puts_indented \"- Integrating System Frameworks #{target.system_frameworks} for #{target}\"","path":"lib/xcake/ui.rb","position":57,"original_position":57,"commit_id":"4a7dbda7a7621415b7fb3566dd3478abfce3a305","original_commit_id":"4a7dbda7a7621415b7fb3566dd3478abfce3a305","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Line is too long. [103/80]","created_at":"2016-07-04T09:52:54Z","updated_at":"2016-07-04T09:52:54Z","html_url":"https://github.com/jcampbell05/xcake/pull/89#discussion_r69434495","pull_request_url":"https://api.github.com/repos/jcampbell05/xcake/pulls/89","_links":{"self":{"href":"https://api.github.com/repos/jcampbell05/xcake/pulls/comments/69434495"},"html":{"href":"https://github.com/jcampbell05/xcake/pull/89#discussion_r69434495"},"pull_request":{"href":"https://api.github.com/repos/jcampbell05/xcake/pulls/89"}}},"pull_request":{"url":"https://api.github.com/repos/jcampbell05/xcake/pulls/89","id":76094872,"html_url":"https://github.com/jcampbell05/xcake/pull/89","diff_url":"https://github.com/jcampbell05/xcake/pull/89.diff","patch_url":"https://github.com/jcampbell05/xcake/pull/89.patch","issue_url":"https://api.github.com/repos/jcampbell05/xcake/issues/89","number":89,"state":"open","locked":false,"title":"[WIP] Moving UI into one class for easier testing and control.","user":{"login":"jcampbell05","id":1484989,"avatar_url":"https://avatars.githubusercontent.com/u/1484989?v=3","gravatar_id":"","url":"https://api.github.com/users/jcampbell05","html_url":"https://github.com/jcampbell05","followers_url":"https://api.github.com/users/jcampbell05/followers","following_url":"https://api.github.com/users/jcampbell05/following{/other_user}","gists_url":"https://api.github.com/users/jcampbell05/gists{/gist_id}","starred_url":"https://api.github.com/users/jcampbell05/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcampbell05/subscriptions","organizations_url":"https://api.github.com/users/jcampbell05/orgs","repos_url":"https://api.github.com/users/jcampbell05/repos","events_url":"https://api.github.com/users/jcampbell05/events{/privacy}","received_events_url":"https://api.github.com/users/jcampbell05/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-07-03T18:08:36Z","updated_at":"2016-07-04T09:52:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"deea2391bf19015e1a597beafaecd4dc319a9bd8","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/jcampbell05/xcake/pulls/89/commits","review_comments_url":"https://api.github.com/repos/jcampbell05/xcake/pulls/89/comments","review_comment_url":"https://api.github.com/repos/jcampbell05/xcake/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jcampbell05/xcake/issues/89/comments","statuses_url":"https://api.github.com/repos/jcampbell05/xcake/statuses/4a7dbda7a7621415b7fb3566dd3478abfce3a305","head":{"label":"jcampbell05:f/BetterUI","ref":"f/BetterUI","sha":"4a7dbda7a7621415b7fb3566dd3478abfce3a305","user":{"login":"jcampbell05","id":1484989,"avatar_url":"https://avatars.githubusercontent.com/u/1484989?v=3","gravatar_id":"","url":"https://api.github.com/users/jcampbell05","html_url":"https://github.com/jcampbell05","followers_url":"https://api.github.com/users/jcampbell05/followers","following_url":"https://api.github.com/users/jcampbell05/following{/other_user}","gists_url":"https://api.github.com/users/jcampbell05/gists{/gist_id}","starred_url":"https://api.github.com/users/jcampbell05/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcampbell05/subscriptions","organizations_url":"https://api.github.com/users/jcampbell05/orgs","repos_url":"https://api.github.com/users/jcampbell05/repos","events_url":"https://api.github.com/users/jcampbell05/events{/privacy}","received_events_url":"https://api.github.com/users/jcampbell05/received_events","type":"User","site_admin":false},"repo":{"id":44044198,"name":"xcake","full_name":"jcampbell05/xcake","owner":{"login":"jcampbell05","id":1484989,"avatar_url":"https://avatars.githubusercontent.com/u/1484989?v=3","gravatar_id":"","url":"https://api.github.com/users/jcampbell05","html_url":"https://github.com/jcampbell05","followers_url":"https://api.github.com/users/jcampbell05/followers","following_url":"https://api.github.com/users/jcampbell05/following{/other_user}","gists_url":"https://api.github.com/users/jcampbell05/gists{/gist_id}","starred_url":"https://api.github.com/users/jcampbell05/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcampbell05/subscriptions","organizations_url":"https://api.github.com/users/jcampbell05/orgs","repos_url":"https://api.github.com/users/jcampbell05/repos","events_url":"https://api.github.com/users/jcampbell05/events{/privacy}","received_events_url":"https://api.github.com/users/jcampbell05/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jcampbell05/xcake","description":":cake: Describe and generate Xcode projects in a human readable format.","fork":false,"url":"https://api.github.com/repos/jcampbell05/xcake","forks_url":"https://api.github.com/repos/jcampbell05/xcake/forks","keys_url":"https://api.github.com/repos/jcampbell05/xcake/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jcampbell05/xcake/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jcampbell05/xcake/teams","hooks_url":"https://api.github.com/repos/jcampbell05/xcake/hooks","issue_events_url":"https://api.github.com/repos/jcampbell05/xcake/issues/events{/number}","events_url":"https://api.github.com/repos/jcampbell05/xcake/events","assignees_url":"https://api.github.com/repos/jcampbell05/xcake/assignees{/user}","branches_url":"https://api.github.com/repos/jcampbell05/xcake/branches{/branch}","tags_url":"https://api.github.com/repos/jcampbell05/xcake/tags","blobs_url":"https://api.github.com/repos/jcampbell05/xcake/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jcampbell05/xcake/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jcampbell05/xcake/git/refs{/sha}","trees_url":"https://api.github.com/repos/jcampbell05/xcake/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jcampbell05/xcake/statuses/{sha}","languages_url":"https://api.github.com/repos/jcampbell05/xcake/languages","stargazers_url":"https://api.github.com/repos/jcampbell05/xcake/stargazers","contributors_url":"https://api.github.com/repos/jcampbell05/xcake/contributors","subscribers_url":"https://api.github.com/repos/jcampbell05/xcake/subscribers","subscription_url":"https://api.github.com/repos/jcampbell05/xcake/subscription","commits_url":"https://api.github.com/repos/jcampbell05/xcake/commits{/sha}","git_commits_url":"https://api.github.com/repos/jcampbell05/xcake/git/commits{/sha}","comments_url":"https://api.github.com/repos/jcampbell05/xcake/comments{/number}","issue_comment_url":"https://api.github.com/repos/jcampbell05/xcake/issues/comments{/number}","contents_url":"https://api.github.com/repos/jcampbell05/xcake/contents/{+path}","compare_url":"https://api.github.com/repos/jcampbell05/xcake/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jcampbell05/xcake/merges","archive_url":"https://api.github.com/repos/jcampbell05/xcake/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jcampbell05/xcake/downloads","issues_url":"https://api.github.com/repos/jcampbell05/xcake/issues{/number}","pulls_url":"https://api.github.com/repos/jcampbell05/xcake/pulls{/number}","milestones_url":"https://api.github.com/repos/jcampbell05/xcake/milestones{/number}","notifications_url":"https://api.github.com/repos/jcampbell05/xcake/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jcampbell05/xcake/labels{/name}","releases_url":"https://api.github.com/repos/jcampbell05/xcake/releases{/id}","deployments_url":"https://api.github.com/repos/jcampbell05/xcake/deployments","created_at":"2015-10-11T08:11:50Z","updated_at":"2016-07-03T14:17:15Z","pushed_at":"2016-07-04T09:52:43Z","git_url":"git://github.com/jcampbell05/xcake.git","ssh_url":"git@github.com:jcampbell05/xcake.git","clone_url":"https://github.com/jcampbell05/xcake.git","svn_url":"https://github.com/jcampbell05/xcake","homepage":"","size":1110,"stargazers_count":270,"watchers_count":270,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":9,"forks":16,"open_issues":9,"watchers":270,"default_branch":"master"}},"base":{"label":"jcampbell05:master","ref":"master","sha":"6f971f86fa1bf21c2d33900f755da615157c95a7","user":{"login":"jcampbell05","id":1484989,"avatar_url":"https://avatars.githubusercontent.com/u/1484989?v=3","gravatar_id":"","url":"https://api.github.com/users/jcampbell05","html_url":"https://github.com/jcampbell05","followers_url":"https://api.github.com/users/jcampbell05/followers","following_url":"https://api.github.com/users/jcampbell05/following{/other_user}","gists_url":"https://api.github.com/users/jcampbell05/gists{/gist_id}","starred_url":"https://api.github.com/users/jcampbell05/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcampbell05/subscriptions","organizations_url":"https://api.github.com/users/jcampbell05/orgs","repos_url":"https://api.github.com/users/jcampbell05/repos","events_url":"https://api.github.com/users/jcampbell05/events{/privacy}","received_events_url":"https://api.github.com/users/jcampbell05/received_events","type":"User","site_admin":false},"repo":{"id":44044198,"name":"xcake","full_name":"jcampbell05/xcake","owner":{"login":"jcampbell05","id":1484989,"avatar_url":"https://avatars.githubusercontent.com/u/1484989?v=3","gravatar_id":"","url":"https://api.github.com/users/jcampbell05","html_url":"https://github.com/jcampbell05","followers_url":"https://api.github.com/users/jcampbell05/followers","following_url":"https://api.github.com/users/jcampbell05/following{/other_user}","gists_url":"https://api.github.com/users/jcampbell05/gists{/gist_id}","starred_url":"https://api.github.com/users/jcampbell05/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcampbell05/subscriptions","organizations_url":"https://api.github.com/users/jcampbell05/orgs","repos_url":"https://api.github.com/users/jcampbell05/repos","events_url":"https://api.github.com/users/jcampbell05/events{/privacy}","received_events_url":"https://api.github.com/users/jcampbell05/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jcampbell05/xcake","description":":cake: Describe and generate Xcode projects in a human readable format.","fork":false,"url":"https://api.github.com/repos/jcampbell05/xcake","forks_url":"https://api.github.com/repos/jcampbell05/xcake/forks","keys_url":"https://api.github.com/repos/jcampbell05/xcake/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jcampbell05/xcake/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jcampbell05/xcake/teams","hooks_url":"https://api.github.com/repos/jcampbell05/xcake/hooks","issue_events_url":"https://api.github.com/repos/jcampbell05/xcake/issues/events{/number}","events_url":"https://api.github.com/repos/jcampbell05/xcake/events","assignees_url":"https://api.github.com/repos/jcampbell05/xcake/assignees{/user}","branches_url":"https://api.github.com/repos/jcampbell05/xcake/branches{/branch}","tags_url":"https://api.github.com/repos/jcampbell05/xcake/tags","blobs_url":"https://api.github.com/repos/jcampbell05/xcake/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jcampbell05/xcake/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jcampbell05/xcake/git/refs{/sha}","trees_url":"https://api.github.com/repos/jcampbell05/xcake/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jcampbell05/xcake/statuses/{sha}","languages_url":"https://api.github.com/repos/jcampbell05/xcake/languages","stargazers_url":"https://api.github.com/repos/jcampbell05/xcake/stargazers","contributors_url":"https://api.github.com/repos/jcampbell05/xcake/contributors","subscribers_url":"https://api.github.com/repos/jcampbell05/xcake/subscribers","subscription_url":"https://api.github.com/repos/jcampbell05/xcake/subscription","commits_url":"https://api.github.com/repos/jcampbell05/xcake/commits{/sha}","git_commits_url":"https://api.github.com/repos/jcampbell05/xcake/git/commits{/sha}","comments_url":"https://api.github.com/repos/jcampbell05/xcake/comments{/number}","issue_comment_url":"https://api.github.com/repos/jcampbell05/xcake/issues/comments{/number}","contents_url":"https://api.github.com/repos/jcampbell05/xcake/contents/{+path}","compare_url":"https://api.github.com/repos/jcampbell05/xcake/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jcampbell05/xcake/merges","archive_url":"https://api.github.com/repos/jcampbell05/xcake/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jcampbell05/xcake/downloads","issues_url":"https://api.github.com/repos/jcampbell05/xcake/issues{/number}","pulls_url":"https://api.github.com/repos/jcampbell05/xcake/pulls{/number}","milestones_url":"https://api.github.com/repos/jcampbell05/xcake/milestones{/number}","notifications_url":"https://api.github.com/repos/jcampbell05/xcake/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jcampbell05/xcake/labels{/name}","releases_url":"https://api.github.com/repos/jcampbell05/xcake/releases{/id}","deployments_url":"https://api.github.com/repos/jcampbell05/xcake/deployments","created_at":"2015-10-11T08:11:50Z","updated_at":"2016-07-03T14:17:15Z","pushed_at":"2016-07-04T09:52:43Z","git_url":"git://github.com/jcampbell05/xcake.git","ssh_url":"git@github.com:jcampbell05/xcake.git","clone_url":"https://github.com/jcampbell05/xcake.git","svn_url":"https://github.com/jcampbell05/xcake","homepage":"","size":1110,"stargazers_count":270,"watchers_count":270,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":9,"forks":16,"open_issues":9,"watchers":270,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jcampbell05/xcake/pulls/89"},"html":{"href":"https://github.com/jcampbell05/xcake/pull/89"},"issue":{"href":"https://api.github.com/repos/jcampbell05/xcake/issues/89"},"comments":{"href":"https://api.github.com/repos/jcampbell05/xcake/issues/89/comments"},"review_comments":{"href":"https://api.github.com/repos/jcampbell05/xcake/pulls/89/comments"},"review_comment":{"href":"https://api.github.com/repos/jcampbell05/xcake/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jcampbell05/xcake/pulls/89/commits"},"statuses":{"href":"https://api.github.com/repos/jcampbell05/xcake/statuses/4a7dbda7a7621415b7fb3566dd3478abfce3a305"}}}}
{"actor":{"display_login":"houndci-bot"}}