{"action":"created","issue":{"url":"https://api.github.com/repos/SublimeText/AAAPackageDev/issues/59","labels_url":"https://api.github.com/repos/SublimeText/AAAPackageDev/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/SublimeText/AAAPackageDev/issues/59/comments","events_url":"https://api.github.com/repos/SublimeText/AAAPackageDev/issues/59/events","html_url":"https://github.com/SublimeText/AAAPackageDev/issues/59","id":83081525,"number":59,"title":"More build configuration options – making grammar packages work with Atom","user":{"login":"daaain","id":69962,"avatar_url":"https://avatars.githubusercontent.com/u/69962?v=3","gravatar_id":"","url":"https://api.github.com/users/daaain","html_url":"https://github.com/daaain","followers_url":"https://api.github.com/users/daaain/followers","following_url":"https://api.github.com/users/daaain/following{/other_user}","gists_url":"https://api.github.com/users/daaain/gists{/gist_id}","starred_url":"https://api.github.com/users/daaain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daaain/subscriptions","organizations_url":"https://api.github.com/users/daaain/orgs","repos_url":"https://api.github.com/users/daaain/repos","events_url":"https://api.github.com/users/daaain/events{/privacy}","received_events_url":"https://api.github.com/users/daaain/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-31T12:42:33Z","updated_at":"2015-05-31T13:47:19Z","closed_at":null,"body":"I'm trying to make my Sublime package work with Atom, which should be a fairly straightforward thing as Atom takes the exact same JSON format as I got generated by AAAPackageDev to avoid having to edit the XML directly.\r\n\r\nThe only problem is, Atom expects the extension to be `.json`, however if I rename the file (from `.JSON-tmLanguage`) then the build system will generate a `.plist` instead of `.tmLanguage`.\r\n\r\nI can make it work by adding the override comment [as instructed by the readme](https://github.com/SublimeText/AAAPackageDev#convert-to-build-system), but then I'm left with an invalid JSON file which Atom will choke on.\r\n\r\nI guess there are many ways to make it work, but wanted to put the use case forward and see if maybe you have something in mind already which could address it?"},"comment":{"url":"https://api.github.com/repos/SublimeText/AAAPackageDev/issues/comments/107185808","html_url":"https://github.com/SublimeText/AAAPackageDev/issues/59#issuecomment-107185808","issue_url":"https://api.github.com/repos/SublimeText/AAAPackageDev/issues/59","id":107185808,"user":{"login":"FichteFoll","id":931051,"avatar_url":"https://avatars.githubusercontent.com/u/931051?v=3","gravatar_id":"","url":"https://api.github.com/users/FichteFoll","html_url":"https://github.com/FichteFoll","followers_url":"https://api.github.com/users/FichteFoll/followers","following_url":"https://api.github.com/users/FichteFoll/following{/other_user}","gists_url":"https://api.github.com/users/FichteFoll/gists{/gist_id}","starred_url":"https://api.github.com/users/FichteFoll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FichteFoll/subscriptions","organizations_url":"https://api.github.com/users/FichteFoll/orgs","repos_url":"https://api.github.com/users/FichteFoll/repos","events_url":"https://api.github.com/users/FichteFoll/events{/privacy}","received_events_url":"https://api.github.com/users/FichteFoll/received_events","type":"User","site_admin":false},"created_at":"2015-05-31T13:47:19Z","updated_at":"2015-05-31T13:47:19Z","body":"The best way is likely to create a (project-specific) build system that provides the target extension (and format) without needing the \"comment frontmatter\".\r\n\r\nThe build system should be as follows:\r\n```json\r\n{\r\n    \"target\": \"convert_file\",\r\n    \"target_format\": \"plist\",\r\n    \"ext\": \"tmLanguage\",\r\n\r\n    \"selector\": \"source.json-tmlanguage\"\r\n}\r\n```"}}