{"action":"opened","issue":{"url":"https://api.github.com/repos/JiriTrecak/Laurine/issues/30","repository_url":"https://api.github.com/repos/JiriTrecak/Laurine","labels_url":"https://api.github.com/repos/JiriTrecak/Laurine/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/JiriTrecak/Laurine/issues/30/comments","events_url":"https://api.github.com/repos/JiriTrecak/Laurine/issues/30/events","html_url":"https://github.com/JiriTrecak/Laurine/issues/30","id":137495305,"number":30,"title":"Compiled Script","user":{"login":"fabb","id":153960,"avatar_url":"https://avatars.githubusercontent.com/u/153960?v=3","gravatar_id":"","url":"https://api.github.com/users/fabb","html_url":"https://github.com/fabb","followers_url":"https://api.github.com/users/fabb/followers","following_url":"https://api.github.com/users/fabb/following{/other_user}","gists_url":"https://api.github.com/users/fabb/gists{/gist_id}","starred_url":"https://api.github.com/users/fabb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabb/subscriptions","organizations_url":"https://api.github.com/users/fabb/orgs","repos_url":"https://api.github.com/users/fabb/repos","events_url":"https://api.github.com/users/fabb/events{/privacy}","received_events_url":"https://api.github.com/users/fabb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-01T07:23:46Z","updated_at":"2016-03-01T07:23:46Z","closed_at":null,"body":"Running `LaurineGenerator.swift` in the run phase takes about 5 seconds with my localization file (containing 460 strings).\r\n\r\nWhen first compiling the script to an executable, the generation time only takes 0.25 seconds.\r\n\r\nI know in the example project, the output is only generated if existing output is not newer than the localization input file. For the sake of having a clean and reproducible build, I prefer to skip that check and delete the generated files every time before running the script.\r\n\r\nHow could this project provide binaries?\r\n\r\n* Comparing to https://github.com/puls/objc-codegenutils this repo could contain an additional Xcode project for generating the binary\r\n* A simple script could be added to execute `xcrun -sdk macosx swiftc LaurineGenerator.swift -o LaurineGenerator`\r\n* [Swift Package Manager](https://github.com/apple/swift-package-manager) could be used\r\n\r\nWhat do you think?"}}