{"action":"created","issue":{"url":"https://api.github.com/repos/es6rocks/harmonic/issues/129","labels_url":"https://api.github.com/repos/es6rocks/harmonic/issues/129/labels{/name}","comments_url":"https://api.github.com/repos/es6rocks/harmonic/issues/129/comments","events_url":"https://api.github.com/repos/es6rocks/harmonic/issues/129/events","html_url":"https://github.com/es6rocks/harmonic/issues/129","id":65012387,"number":129,"title":"Support task runner","user":{"login":"jaydson","id":72206,"avatar_url":"https://avatars.githubusercontent.com/u/72206?v=3","gravatar_id":"","url":"https://api.github.com/users/jaydson","html_url":"https://github.com/jaydson","followers_url":"https://api.github.com/users/jaydson/followers","following_url":"https://api.github.com/users/jaydson/following{/other_user}","gists_url":"https://api.github.com/users/jaydson/gists{/gist_id}","starred_url":"https://api.github.com/users/jaydson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaydson/subscriptions","organizations_url":"https://api.github.com/users/jaydson/orgs","repos_url":"https://api.github.com/users/jaydson/repos","events_url":"https://api.github.com/users/jaydson/events{/privacy}","received_events_url":"https://api.github.com/users/jaydson/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/es6rocks/harmonic/labels/discussion","name":"discussion","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-29T02:01:49Z","updated_at":"2015-03-30T02:16:04Z","closed_at":null,"body":"All modern website are built using some kind of `task-runner`.\r\nHarmonic must to support `task-runner` integration in some way.\r\n\r\nMaybe a custom CLI command that Harmonic can run after or before the build.\r\nI don't know yet what is the best approach here.\r\n"},"comment":{"url":"https://api.github.com/repos/es6rocks/harmonic/issues/comments/87514639","html_url":"https://github.com/es6rocks/harmonic/issues/129#issuecomment-87514639","issue_url":"https://api.github.com/repos/es6rocks/harmonic/issues/129","id":87514639,"user":{"login":"UltCombo","id":2090712,"avatar_url":"https://avatars.githubusercontent.com/u/2090712?v=3","gravatar_id":"","url":"https://api.github.com/users/UltCombo","html_url":"https://github.com/UltCombo","followers_url":"https://api.github.com/users/UltCombo/followers","following_url":"https://api.github.com/users/UltCombo/following{/other_user}","gists_url":"https://api.github.com/users/UltCombo/gists{/gist_id}","starred_url":"https://api.github.com/users/UltCombo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UltCombo/subscriptions","organizations_url":"https://api.github.com/users/UltCombo/orgs","repos_url":"https://api.github.com/users/UltCombo/repos","events_url":"https://api.github.com/users/UltCombo/events{/privacy}","received_events_url":"https://api.github.com/users/UltCombo/received_events","type":"User","site_admin":false},"created_at":"2015-03-30T02:16:04Z","updated_at":"2015-03-30T02:16:04Z","body":"If the developer wants to integrate Harmonic into his gulp/Grunt/etc. workflow, I believe the Harmonic API is best suited for the task. E.g.:\r\n\r\n```js\r\ngulp.task('build', ['lint'], function(cb) {\r\n    new Harmonic('path/to/project').build().then(function(){ cb(); }, cb);\r\n});\r\ngulp.task('lint', function(cb) {\r\n    // ...\r\n});\r\n```\r\n\r\nThen executing `gulp build` will lint and run `harmonic build`.\r\n\r\nIs this what you meant?"}}