{"action":"created","issue":{"url":"https://api.github.com/repos/schell/hdevtools/issues/17","labels_url":"https://api.github.com/repos/schell/hdevtools/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/schell/hdevtools/issues/17/comments","events_url":"https://api.github.com/repos/schell/hdevtools/issues/17/events","html_url":"https://github.com/schell/hdevtools/issues/17","id":108306658,"number":17,"title":"Check not working in test suites","user":{"login":"ch1bo","id":2621189,"avatar_url":"https://avatars.githubusercontent.com/u/2621189?v=3","gravatar_id":"","url":"https://api.github.com/users/ch1bo","html_url":"https://github.com/ch1bo","followers_url":"https://api.github.com/users/ch1bo/followers","following_url":"https://api.github.com/users/ch1bo/following{/other_user}","gists_url":"https://api.github.com/users/ch1bo/gists{/gist_id}","starred_url":"https://api.github.com/users/ch1bo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ch1bo/subscriptions","organizations_url":"https://api.github.com/users/ch1bo/orgs","repos_url":"https://api.github.com/users/ch1bo/repos","events_url":"https://api.github.com/users/ch1bo/events{/privacy}","received_events_url":"https://api.github.com/users/ch1bo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-25T11:17:18Z","updated_at":"2015-10-22T16:16:40Z","closed_at":null,"body":"Hi, when using `hdevtools check` on source files of test-suites it cannot resolve own modules and dependencies only used in the test suite, e.g. `test-framework`.\r\n\r\nIf fixed this on my fork (@7f54238b7420d44fa411ecfc057f9c0ae05ae673) by configuring ghc with the flag corresponding to `--enable-tests`. \r\n\r\nNow I'm not sure if this breaks things or it might be useful default? I'm happy to extend this a little and create a PR. Suggestions?"},"comment":{"url":"https://api.github.com/repos/schell/hdevtools/issues/comments/150277410","html_url":"https://github.com/schell/hdevtools/issues/17#issuecomment-150277410","issue_url":"https://api.github.com/repos/schell/hdevtools/issues/17","id":150277410,"user":{"login":"schell","id":24942,"avatar_url":"https://avatars.githubusercontent.com/u/24942?v=3","gravatar_id":"","url":"https://api.github.com/users/schell","html_url":"https://github.com/schell","followers_url":"https://api.github.com/users/schell/followers","following_url":"https://api.github.com/users/schell/following{/other_user}","gists_url":"https://api.github.com/users/schell/gists{/gist_id}","starred_url":"https://api.github.com/users/schell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schell/subscriptions","organizations_url":"https://api.github.com/users/schell/orgs","repos_url":"https://api.github.com/users/schell/repos","events_url":"https://api.github.com/users/schell/events{/privacy}","received_events_url":"https://api.github.com/users/schell/received_events","type":"User","site_admin":false},"created_at":"2015-10-22T16:16:40Z","updated_at":"2015-10-22T16:16:40Z","body":"Yes, please submit a PR to my fork as I'm pushing up a new version to hackage soon."}}