{"action":"closed","issue":{"url":"https://api.github.com/repos/hbbio/build/issues/1","labels_url":"https://api.github.com/repos/hbbio/build/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/hbbio/build/issues/1/comments","events_url":"https://api.github.com/repos/hbbio/build/issues/1/events","html_url":"https://github.com/hbbio/build/issues/1","id":120227113,"number":1,"title":"Default build rules","user":{"login":"hbbio","id":808274,"avatar_url":"https://avatars.githubusercontent.com/u/808274?v=3","gravatar_id":"","url":"https://api.github.com/users/hbbio","html_url":"https://github.com/hbbio","followers_url":"https://api.github.com/users/hbbio/followers","following_url":"https://api.github.com/users/hbbio/following{/other_user}","gists_url":"https://api.github.com/users/hbbio/gists{/gist_id}","starred_url":"https://api.github.com/users/hbbio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hbbio/subscriptions","organizations_url":"https://api.github.com/users/hbbio/orgs","repos_url":"https://api.github.com/users/hbbio/repos","events_url":"https://api.github.com/users/hbbio/events{/privacy}","received_events_url":"https://api.github.com/users/hbbio/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-03T17:29:41Z","updated_at":"2015-12-08T17:45:33Z","closed_at":"2015-12-08T17:45:33Z","body":"We could have a `~/.config/build/rules` file which contains default rules for certain file extensions. For instance, if `rules` contains\r\n\r\n```\r\nmd: pandoc -o %pdf %md\r\n```\r\n\r\nrunning:\r\n```bash\r\nbuild file.md\r\n```\r\n\r\nwould by default execute the default command. Of course, if a given file contains a `@build` command, it should override the default."}}