{"action":"created","issue":{"url":"https://api.github.com/repos/Travix-International/appix/issues/34","repository_url":"https://api.github.com/repos/Travix-International/appix","labels_url":"https://api.github.com/repos/Travix-International/appix/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/Travix-International/appix/issues/34/comments","events_url":"https://api.github.com/repos/Travix-International/appix/issues/34/events","html_url":"https://github.com/Travix-International/appix/pull/34","id":194562545,"number":34,"title":"pool of stages","user":{"login":"jackTheRipper","id":367236,"avatar_url":"https://avatars.githubusercontent.com/u/367236?v=3","gravatar_id":"","url":"https://api.github.com/users/jackTheRipper","html_url":"https://github.com/jackTheRipper","followers_url":"https://api.github.com/users/jackTheRipper/followers","following_url":"https://api.github.com/users/jackTheRipper/following{/other_user}","gists_url":"https://api.github.com/users/jackTheRipper/gists{/gist_id}","starred_url":"https://api.github.com/users/jackTheRipper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackTheRipper/subscriptions","organizations_url":"https://api.github.com/users/jackTheRipper/orgs","repos_url":"https://api.github.com/users/jackTheRipper/repos","events_url":"https://api.github.com/users/jackTheRipper/events{/privacy}","received_events_url":"https://api.github.com/users/jackTheRipper/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-12-09T10:30:38Z","updated_at":"2016-12-26T16:47:30Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Travix-International/appix/pulls/34","html_url":"https://github.com/Travix-International/appix/pull/34","diff_url":"https://github.com/Travix-International/appix/pull/34.diff","patch_url":"https://github.com/Travix-International/appix/pull/34.patch"},"body":"**Do**\r\n\r\nThe pull request add two new properties to the app.manifest.\r\n\r\n1. tests: \r\n\r\nRepresentation:\r\n\r\n```javascript\r\n {\r\n  /* ... your stuff */\r\n  \"tests\": [\r\n    {\r\n       \"name\": \"unit-tests\",\r\n       \"cmd\": \"npm run tests\"\r\n    }\r\n  ]\r\n  /* ... your other stuff */\r\n }\r\n```\r\n\r\nThe property \"tests\" is an array of Stage. Each Stage must be independent. The stage are ran in parallel before \"zappification\" of the widget.\r\n\r\nIf one fail it kills the command executed (push, watch ...)\r\n\r\n*TO-THINK* maybe a --no-verify flag ?\r\n\r\n2. build:\r\n\r\n Representation:\r\n\r\n```javascript\r\n {\r\n  /* ... your stuff */\r\n  \"build\": [\r\n    {\r\n       \"name\": \"bundle-ts\",\r\n       \"cmd\": \"tsc *.ts\"\r\n    }\r\n  ]\r\n  /* ... your other stuff */\r\n }\r\n```\r\n\r\nSuch as the tests, the build is an array of independent stages. They are ran at the same time.\r\n\r\n*TO-THINK* How to manage the generated bundle? Maybe defining an entry point"},"comment":{"url":"https://api.github.com/repos/Travix-International/appix/issues/comments/269226107","html_url":"https://github.com/Travix-International/appix/pull/34#issuecomment-269226107","issue_url":"https://api.github.com/repos/Travix-International/appix/issues/34","id":269226107,"user":{"login":"jackTheRipper","id":367236,"avatar_url":"https://avatars.githubusercontent.com/u/367236?v=3","gravatar_id":"","url":"https://api.github.com/users/jackTheRipper","html_url":"https://github.com/jackTheRipper","followers_url":"https://api.github.com/users/jackTheRipper/followers","following_url":"https://api.github.com/users/jackTheRipper/following{/other_user}","gists_url":"https://api.github.com/users/jackTheRipper/gists{/gist_id}","starred_url":"https://api.github.com/users/jackTheRipper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackTheRipper/subscriptions","organizations_url":"https://api.github.com/users/jackTheRipper/orgs","repos_url":"https://api.github.com/users/jackTheRipper/repos","events_url":"https://api.github.com/users/jackTheRipper/events{/privacy}","received_events_url":"https://api.github.com/users/jackTheRipper/received_events","type":"User","site_admin":false},"created_at":"2016-12-26T16:47:30Z","updated_at":"2016-12-26T16:47:30Z","body":"I agree with @GVdP-Travix . \r\n\r\nI wasn't thinking about it.\r\n\r\nI can sandbox the execution of the commands."}}
{"actor":{"display_login":"jackTheRipper"}}