{"action":"closed","number":8,"pull_request":{"url":"https://api.github.com/repos/Dobiasd/FunctionalPlus/pulls/8","id":72768669,"html_url":"https://github.com/Dobiasd/FunctionalPlus/pull/8","diff_url":"https://github.com/Dobiasd/FunctionalPlus/pull/8.diff","patch_url":"https://github.com/Dobiasd/FunctionalPlus/pull/8.patch","issue_url":"https://api.github.com/repos/Dobiasd/FunctionalPlus/issues/8","number":8,"state":"closed","locked":false,"title":"Add cmake to build and run tests","user":{"login":"pfultz2","id":1306044,"avatar_url":"https://avatars.githubusercontent.com/u/1306044?v=3","gravatar_id":"","url":"https://api.github.com/users/pfultz2","html_url":"https://github.com/pfultz2","followers_url":"https://api.github.com/users/pfultz2/followers","following_url":"https://api.github.com/users/pfultz2/following{/other_user}","gists_url":"https://api.github.com/users/pfultz2/gists{/gist_id}","starred_url":"https://api.github.com/users/pfultz2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pfultz2/subscriptions","organizations_url":"https://api.github.com/users/pfultz2/orgs","repos_url":"https://api.github.com/users/pfultz2/repos","events_url":"https://api.github.com/users/pfultz2/events{/privacy}","received_events_url":"https://api.github.com/users/pfultz2/received_events","type":"User","site_admin":false},"body":"This adds an initial cmake. On unix based system it can build, run the tests, and install like this:\r\n\r\n```\r\nmkdir build\r\ncd build\r\n# Set cxx flags if they are not already set by the toolchain\r\nCXXFLAGS='-std=c++11' cmake ..\r\n# Build and run the tests\r\ncmake --build . --target check\r\n# Install the library\r\ncmake --build . --target install\r\n```\r\n\r\nFor MSVC, you would just omit the `CXXFLAGS='-std=c++11'` setting.\r\n\r\nAlso, with standard cmake packaging support this can be installed with [cget](https://github.com/pfultz2/cget/) as well:\r\n\r\n```\r\n# Setup up toolchain to use c++11\r\ncget init --std=c++11\r\n# Test and install\r\ncget install --test Dobiasd/FunctionalPlus\r\n```","created_at":"2016-06-06T20:03:18Z","updated_at":"2016-06-06T20:30:52Z","closed_at":"2016-06-06T20:30:52Z","merged_at":"2016-06-06T20:30:52Z","merge_commit_sha":"9d899c5d0e06d77f35f7b2a4de689fb27001cae7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Dobiasd/FunctionalPlus/pulls/8/commits","review_comments_url":"https://api.github.com/repos/Dobiasd/FunctionalPlus/pulls/8/comments","review_comment_url":"https://api.github.com/repos/Dobiasd/FunctionalPlus/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Dobiasd/FunctionalPlus/issues/8/comments","statuses_url":"https://api.github.com/repos/Dobiasd/FunctionalPlus/statuses/6ca81be479b9cfdf3fcdb798150f1167921bcf01","head":{"label":"pfultz2:master","ref":"master","sha":"6ca81be479b9cfdf3fcdb798150f1167921bcf01","user":{"login":"pfultz2","id":1306044,"avatar_url":"https://avatars.githubusercontent.com/u/1306044?v=3","gravatar_id":"","url":"https://api.github.com/users/pfultz2","html_url":"https://github.com/pfultz2","followers_url":"https://api.github.com/users/pfultz2/followers","following_url":"https://api.github.com/users/pfultz2/following{/other_user}","gists_url":"https://api.github.com/users/pfultz2/gists{/gist_id}","starred_url":"https://api.github.com/users/pfultz2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pfultz2/subscriptions","organizations_url":"https://api.github.com/users/pfultz2/orgs","repos_url":"https://api.github.com/users/pfultz2/repos","events_url":"https://api.github.com/users/pfultz2/events{/privacy}","received_events_url":"https://api.github.com/users/pfultz2/received_events","type":"User","site_admin":false},"repo":{"id":60555463,"name":"FunctionalPlus","full_name":"pfultz2/FunctionalPlus","owner":{"login":"pfultz2","id":1306044,"avatar_url":"https://avatars.githubusercontent.com/u/1306044?v=3","gravatar_id":"","url":"https://api.github.com/users/pfultz2","html_url":"https://github.com/pfultz2","followers_url":"https://api.github.com/users/pfultz2/followers","following_url":"https://api.github.com/users/pfultz2/following{/other_user}","gists_url":"https://api.github.com/users/pfultz2/gists{/gist_id}","starred_url":"https://api.github.com/users/pfultz2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pfultz2/subscriptions","organizations_url":"https://api.github.com/users/pfultz2/orgs","repos_url":"https://api.github.com/users/pfultz2/repos","events_url":"https://api.github.com/users/pfultz2/events{/privacy}","received_events_url":"https://api.github.com/users/pfultz2/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pfultz2/FunctionalPlus","description":"helps you write concise and readable C++ code.","fork":true,"url":"https://api.github.com/repos/pfultz2/FunctionalPlus","forks_url":"https://api.github.com/repos/pfultz2/FunctionalPlus/forks","keys_url":"https://api.github.com/repos/pfultz2/FunctionalPlus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pfultz2/FunctionalPlus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pfultz2/FunctionalPlus/teams","hooks_url":"https://api.github.com/repos/pfultz2/FunctionalPlus/hooks","issue_events_url":"https://api.github.com/repos/pfultz2/FunctionalPlus/issues/events{/number}","events_url":"https://api.github.com/repos/pfultz2/FunctionalPlus/events","assignees_url":"https://api.github.com/repos/pfultz2/FunctionalPlus/assignees{/user}","branches_url":"https://api.github.com/repos/pfultz2/FunctionalPlus/branches{/branch}","tags_url":"https://api.github.com/repos/pfultz2/FunctionalPlus/tags","blobs_url":"https://api.github.com/repos/pfultz2/FunctionalPlus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pfultz2/FunctionalPlus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pfultz2/FunctionalPlus/git/refs{/sha}","trees_url":"https://api.github.com/repos/pfultz2/FunctionalPlus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pfultz2/FunctionalPlus/statuses/{sha}","languages_url":"https://api.github.com/repos/pfultz2/FunctionalPlus/languages","stargazers_url":"https://api.github.com/repos/pfultz2/FunctionalPlus/stargazers","contributors_url":"https://api.github.com/repos/pfultz2/FunctionalPlus/contributors","subscribers_url":"https://api.github.com/repos/pfultz2/FunctionalPlus/subscribers","subscription_url":"https://api.github.com/repos/pfultz2/FunctionalPlus/subscription","commits_url":"https://api.github.com/repos/pfultz2/FunctionalPlus/commits{/sha}","git_commits_url":"https://api.github.com/repos/pfultz2/FunctionalPlus/git/commits{/sha}","comments_url":"https://api.github.com/repos/pfultz2/FunctionalPlus/comments{/number}","issue_comment_url":"https://api.github.com/repos/pfultz2/FunctionalPlus/issues/comments{/number}","contents_url":"https://api.github.com/repos/pfultz2/FunctionalPlus/contents/{+path}","compare_url":"https://api.github.com/repos/pfultz2/FunctionalPlus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pfultz2/FunctionalPlus/merges","archive_url":"https://api.github.com/repos/pfultz2/FunctionalPlus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pfultz2/FunctionalPlus/downloads","issues_url":"https://api.github.com/repos/pfultz2/FunctionalPlus/issues{/number}","pulls_url":"https://api.github.com/repos/pfultz2/FunctionalPlus/pulls{/number}","milestones_url":"https://api.github.com/repos/pfultz2/FunctionalPlus/milestones{/number}","notifications_url":"https://api.github.com/repos/pfultz2/FunctionalPlus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pfultz2/FunctionalPlus/labels{/name}","releases_url":"https://api.github.com/repos/pfultz2/FunctionalPlus/releases{/id}","deployments_url":"https://api.github.com/repos/pfultz2/FunctionalPlus/deployments","created_at":"2016-06-06T19:38:13Z","updated_at":"2016-06-06T19:38:14Z","pushed_at":"2016-06-06T19:52:47Z","git_url":"git://github.com/pfultz2/FunctionalPlus.git","ssh_url":"git@github.com:pfultz2/FunctionalPlus.git","clone_url":"https://github.com/pfultz2/FunctionalPlus.git","svn_url":"https://github.com/pfultz2/FunctionalPlus","homepage":"","size":743,"stargazers_count":0,"watchers_count":0,"language":"C++","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":"Dobiasd:master","ref":"master","sha":"a8b3b6d3df2737808823468672e89b9d44789c44","user":{"login":"Dobiasd","id":5544610,"avatar_url":"https://avatars.githubusercontent.com/u/5544610?v=3","gravatar_id":"","url":"https://api.github.com/users/Dobiasd","html_url":"https://github.com/Dobiasd","followers_url":"https://api.github.com/users/Dobiasd/followers","following_url":"https://api.github.com/users/Dobiasd/following{/other_user}","gists_url":"https://api.github.com/users/Dobiasd/gists{/gist_id}","starred_url":"https://api.github.com/users/Dobiasd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dobiasd/subscriptions","organizations_url":"https://api.github.com/users/Dobiasd/orgs","repos_url":"https://api.github.com/users/Dobiasd/repos","events_url":"https://api.github.com/users/Dobiasd/events{/privacy}","received_events_url":"https://api.github.com/users/Dobiasd/received_events","type":"User","site_admin":false},"repo":{"id":46746797,"name":"FunctionalPlus","full_name":"Dobiasd/FunctionalPlus","owner":{"login":"Dobiasd","id":5544610,"avatar_url":"https://avatars.githubusercontent.com/u/5544610?v=3","gravatar_id":"","url":"https://api.github.com/users/Dobiasd","html_url":"https://github.com/Dobiasd","followers_url":"https://api.github.com/users/Dobiasd/followers","following_url":"https://api.github.com/users/Dobiasd/following{/other_user}","gists_url":"https://api.github.com/users/Dobiasd/gists{/gist_id}","starred_url":"https://api.github.com/users/Dobiasd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dobiasd/subscriptions","organizations_url":"https://api.github.com/users/Dobiasd/orgs","repos_url":"https://api.github.com/users/Dobiasd/repos","events_url":"https://api.github.com/users/Dobiasd/events{/privacy}","received_events_url":"https://api.github.com/users/Dobiasd/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Dobiasd/FunctionalPlus","description":"helps you write concise and readable C++ code.","fork":false,"url":"https://api.github.com/repos/Dobiasd/FunctionalPlus","forks_url":"https://api.github.com/repos/Dobiasd/FunctionalPlus/forks","keys_url":"https://api.github.com/repos/Dobiasd/FunctionalPlus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Dobiasd/FunctionalPlus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Dobiasd/FunctionalPlus/teams","hooks_url":"https://api.github.com/repos/Dobiasd/FunctionalPlus/hooks","issue_events_url":"https://api.github.com/repos/Dobiasd/FunctionalPlus/issues/events{/number}","events_url":"https://api.github.com/repos/Dobiasd/FunctionalPlus/events","assignees_url":"https://api.github.com/repos/Dobiasd/FunctionalPlus/assignees{/user}","branches_url":"https://api.github.com/repos/Dobiasd/FunctionalPlus/branches{/branch}","tags_url":"https://api.github.com/repos/Dobiasd/FunctionalPlus/tags","blobs_url":"https://api.github.com/repos/Dobiasd/FunctionalPlus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Dobiasd/FunctionalPlus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Dobiasd/FunctionalPlus/git/refs{/sha}","trees_url":"https://api.github.com/repos/Dobiasd/FunctionalPlus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Dobiasd/FunctionalPlus/statuses/{sha}","languages_url":"https://api.github.com/repos/Dobiasd/FunctionalPlus/languages","stargazers_url":"https://api.github.com/repos/Dobiasd/FunctionalPlus/stargazers","contributors_url":"https://api.github.com/repos/Dobiasd/FunctionalPlus/contributors","subscribers_url":"https://api.github.com/repos/Dobiasd/FunctionalPlus/subscribers","subscription_url":"https://api.github.com/repos/Dobiasd/FunctionalPlus/subscription","commits_url":"https://api.github.com/repos/Dobiasd/FunctionalPlus/commits{/sha}","git_commits_url":"https://api.github.com/repos/Dobiasd/FunctionalPlus/git/commits{/sha}","comments_url":"https://api.github.com/repos/Dobiasd/FunctionalPlus/comments{/number}","issue_comment_url":"https://api.github.com/repos/Dobiasd/FunctionalPlus/issues/comments{/number}","contents_url":"https://api.github.com/repos/Dobiasd/FunctionalPlus/contents/{+path}","compare_url":"https://api.github.com/repos/Dobiasd/FunctionalPlus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Dobiasd/FunctionalPlus/merges","archive_url":"https://api.github.com/repos/Dobiasd/FunctionalPlus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Dobiasd/FunctionalPlus/downloads","issues_url":"https://api.github.com/repos/Dobiasd/FunctionalPlus/issues{/number}","pulls_url":"https://api.github.com/repos/Dobiasd/FunctionalPlus/pulls{/number}","milestones_url":"https://api.github.com/repos/Dobiasd/FunctionalPlus/milestones{/number}","notifications_url":"https://api.github.com/repos/Dobiasd/FunctionalPlus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Dobiasd/FunctionalPlus/labels{/name}","releases_url":"https://api.github.com/repos/Dobiasd/FunctionalPlus/releases{/id}","deployments_url":"https://api.github.com/repos/Dobiasd/FunctionalPlus/deployments","created_at":"2015-11-23T20:41:52Z","updated_at":"2016-06-06T19:36:06Z","pushed_at":"2016-06-06T20:30:52Z","git_url":"git://github.com/Dobiasd/FunctionalPlus.git","ssh_url":"git@github.com:Dobiasd/FunctionalPlus.git","clone_url":"https://github.com/Dobiasd/FunctionalPlus.git","svn_url":"https://github.com/Dobiasd/FunctionalPlus","homepage":"","size":743,"stargazers_count":327,"watchers_count":327,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":0,"forks":17,"open_issues":0,"watchers":327,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Dobiasd/FunctionalPlus/pulls/8"},"html":{"href":"https://github.com/Dobiasd/FunctionalPlus/pull/8"},"issue":{"href":"https://api.github.com/repos/Dobiasd/FunctionalPlus/issues/8"},"comments":{"href":"https://api.github.com/repos/Dobiasd/FunctionalPlus/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/Dobiasd/FunctionalPlus/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/Dobiasd/FunctionalPlus/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Dobiasd/FunctionalPlus/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/Dobiasd/FunctionalPlus/statuses/6ca81be479b9cfdf3fcdb798150f1167921bcf01"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"Dobiasd","id":5544610,"avatar_url":"https://avatars.githubusercontent.com/u/5544610?v=3","gravatar_id":"","url":"https://api.github.com/users/Dobiasd","html_url":"https://github.com/Dobiasd","followers_url":"https://api.github.com/users/Dobiasd/followers","following_url":"https://api.github.com/users/Dobiasd/following{/other_user}","gists_url":"https://api.github.com/users/Dobiasd/gists{/gist_id}","starred_url":"https://api.github.com/users/Dobiasd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dobiasd/subscriptions","organizations_url":"https://api.github.com/users/Dobiasd/orgs","repos_url":"https://api.github.com/users/Dobiasd/repos","events_url":"https://api.github.com/users/Dobiasd/events{/privacy}","received_events_url":"https://api.github.com/users/Dobiasd/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":25,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"Dobiasd"}}