{"action":"created","issue":{"url":"https://api.github.com/repos/noseglid/atom-build/issues/63","labels_url":"https://api.github.com/repos/noseglid/atom-build/issues/63/labels{/name}","comments_url":"https://api.github.com/repos/noseglid/atom-build/issues/63/comments","events_url":"https://api.github.com/repos/noseglid/atom-build/issues/63/events","html_url":"https://github.com/noseglid/atom-build/issues/63","id":71950627,"number":63,"title":"Prefixing the value of `cwd` to the file of matched errors","user":{"login":"nikswamy","id":6163359,"avatar_url":"https://avatars.githubusercontent.com/u/6163359?v=3","gravatar_id":"","url":"https://api.github.com/users/nikswamy","html_url":"https://github.com/nikswamy","followers_url":"https://api.github.com/users/nikswamy/followers","following_url":"https://api.github.com/users/nikswamy/following{/other_user}","gists_url":"https://api.github.com/users/nikswamy/gists{/gist_id}","starred_url":"https://api.github.com/users/nikswamy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikswamy/subscriptions","organizations_url":"https://api.github.com/users/nikswamy/orgs","repos_url":"https://api.github.com/users/nikswamy/repos","events_url":"https://api.github.com/users/nikswamy/events{/privacy}","received_events_url":"https://api.github.com/users/nikswamy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/noseglid/atom-build/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-04-29T18:25:08Z","updated_at":"2015-04-30T17:01:52Z","closed_at":"2015-04-29T20:07:48Z","body":"I am using an .atom-build.json that sets the `cwd` property ... it looks like this:\r\n\r\n```\r\n{\r\n  \"cmd\": \"fstar\",\r\n  \"args\": [ \"{FILE_ACTIVE_NAME}\" ],\r\n  \"cwd\": \"{FILE_ACTIVE_PATH}\",\r\n  \"sh\": false,\r\n  \"errorMatch\": \"(?<file>[^\\\\(]+.fst)\\\\((?<line>\\\\d+),(?<col>\\\\d+).*\\\\n\"\r\n}\r\n```\r\n\r\nThe command I'm using, `fstar`, reports error locations relative to the working directory from which it isi executed, as usual.\r\n\r\nHowever, this doesn't work well with atom-build, since it expects the matches `<file>` string to be relative to the root of the project. \r\n\r\nIs there a way to configure `atom-build` so that it uses the `cwd` value in `.atom-build.json` (if set) to be the base of any matched files in error messages.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/noseglid/atom-build/issues/comments/97882135","html_url":"https://github.com/noseglid/atom-build/issues/63#issuecomment-97882135","issue_url":"https://api.github.com/repos/noseglid/atom-build/issues/63","id":97882135,"user":{"login":"noseglid","id":933880,"avatar_url":"https://avatars.githubusercontent.com/u/933880?v=3","gravatar_id":"","url":"https://api.github.com/users/noseglid","html_url":"https://github.com/noseglid","followers_url":"https://api.github.com/users/noseglid/followers","following_url":"https://api.github.com/users/noseglid/following{/other_user}","gists_url":"https://api.github.com/users/noseglid/gists{/gist_id}","starred_url":"https://api.github.com/users/noseglid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noseglid/subscriptions","organizations_url":"https://api.github.com/users/noseglid/orgs","repos_url":"https://api.github.com/users/noseglid/repos","events_url":"https://api.github.com/users/noseglid/events{/privacy}","received_events_url":"https://api.github.com/users/noseglid/received_events","type":"User","site_admin":false},"created_at":"2015-04-30T17:01:51Z","updated_at":"2015-04-30T17:01:51Z","body":"That is true! Excellent catch. Do you want to make a PR for that change, or should I just change it?"}}