{"action":"created","issue":{"url":"https://api.github.com/repos/cake-build/cake/issues/155","labels_url":"https://api.github.com/repos/cake-build/cake/issues/155/labels{/name}","comments_url":"https://api.github.com/repos/cake-build/cake/issues/155/comments","events_url":"https://api.github.com/repos/cake-build/cake/issues/155/events","html_url":"https://github.com/cake-build/cake/issues/155","id":54582088,"number":155,"title":"Dry run mode","user":{"login":"patriksvensson","id":357872,"avatar_url":"https://avatars.githubusercontent.com/u/357872?v=3","gravatar_id":"","url":"https://api.github.com/users/patriksvensson","html_url":"https://github.com/patriksvensson","followers_url":"https://api.github.com/users/patriksvensson/followers","following_url":"https://api.github.com/users/patriksvensson/following{/other_user}","gists_url":"https://api.github.com/users/patriksvensson/gists{/gist_id}","starred_url":"https://api.github.com/users/patriksvensson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patriksvensson/subscriptions","organizations_url":"https://api.github.com/users/patriksvensson/orgs","repos_url":"https://api.github.com/users/patriksvensson/repos","events_url":"https://api.github.com/users/patriksvensson/events{/privacy}","received_events_url":"https://api.github.com/users/patriksvensson/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cake-build/cake/labels/feature","name":"feature","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"patriksvensson","id":357872,"avatar_url":"https://avatars.githubusercontent.com/u/357872?v=3","gravatar_id":"","url":"https://api.github.com/users/patriksvensson","html_url":"https://github.com/patriksvensson","followers_url":"https://api.github.com/users/patriksvensson/followers","following_url":"https://api.github.com/users/patriksvensson/following{/other_user}","gists_url":"https://api.github.com/users/patriksvensson/gists{/gist_id}","starred_url":"https://api.github.com/users/patriksvensson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patriksvensson/subscriptions","organizations_url":"https://api.github.com/users/patriksvensson/orgs","repos_url":"https://api.github.com/users/patriksvensson/repos","events_url":"https://api.github.com/users/patriksvensson/events{/privacy}","received_events_url":"https://api.github.com/users/patriksvensson/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-01-16T14:41:10Z","updated_at":"2015-01-18T15:09:48Z","closed_at":null,"body":"Add a `dry run` mode that does the exact same as a normal build, but instead of executing the tasks, just outputs the resulting task graph.\r\n\r\n```shell\r\nPS C:\\> .\\Cake.exe cake.build -dryrun\r\n\r\nDry running build.cake...\r\nTarget: Default\r\n\r\n1. Clean\r\n2. Restore-NuGet-Packages\r\n3. Patch-Assembly-Info\r\n4. Build\r\n5. Run-Unit-Tests\r\n6. Copy-Files\r\n7. Zip-Files\r\n8. Create-Cake-NuGet-Package\r\n9. Create-Core-NuGet-Package\r\n10. Package (Delegate)\r\n11. Default (Delegate)\r\n\r\nThis was a dry run.\r\nNo tasks were executed.\r\n```"},"comment":{"url":"https://api.github.com/repos/cake-build/cake/issues/comments/70411605","html_url":"https://github.com/cake-build/cake/issues/155#issuecomment-70411605","issue_url":"https://api.github.com/repos/cake-build/cake/issues/155","id":70411605,"user":{"login":"patriksvensson","id":357872,"avatar_url":"https://avatars.githubusercontent.com/u/357872?v=3","gravatar_id":"","url":"https://api.github.com/users/patriksvensson","html_url":"https://github.com/patriksvensson","followers_url":"https://api.github.com/users/patriksvensson/followers","following_url":"https://api.github.com/users/patriksvensson/following{/other_user}","gists_url":"https://api.github.com/users/patriksvensson/gists{/gist_id}","starred_url":"https://api.github.com/users/patriksvensson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patriksvensson/subscriptions","organizations_url":"https://api.github.com/users/patriksvensson/orgs","repos_url":"https://api.github.com/users/patriksvensson/repos","events_url":"https://api.github.com/users/patriksvensson/events{/privacy}","received_events_url":"https://api.github.com/users/patriksvensson/received_events","type":"User","site_admin":false},"created_at":"2015-01-18T15:09:48Z","updated_at":"2015-01-18T15:09:48Z","body":"It's easy to add a `noop` and `whatif` alias so it feels familiar to everyone. Going to start implement this tonight if there is time, and will submit a PR for discussion :)"}}