-
Notifications
You must be signed in to change notification settings - Fork 79
Specify outname name of binary #33
Comments
Hi Keith: not a silly question! I've been meaning to implement this for ages, as a 'text/template'. It needs to be a template because it needs to produce different file paths for each platform. I've started work on it, and the default template looks like this:
So, you can just change it to Would that work for you? I'll let you know once it's ready. Cheers |
Hi, for the moment you have control over that to some extent (you can goxc -d destination/dir -pv 0.0.1 xc This will mean it ends up inside destination/dir/0.0.1 (then e.g. Basically I'd still recommend putting your app into its own directory. BTW, I'll finish & release the new features off as soon as I get my hands On Feb 17, 2014 11:25 AM, "Alex Casanova" notifications@github.com wrote:
|
This is now done. Please update ( You can use You can just specify a plain-text value for -o, but I wouldn't recommend that unless you specify a single platform e.g. Note also that -o can be defined in your json config as OutPath (or via the 'write config' option Rgds, |
I also wanted this feature. I just updated goxc and tested this and can confirm this works for me! Thanks, |
sweet, thanks for letting me know. Closing |
With
go build
I can specify-o
to customize the name of the binary it builds:go build -o my-awesome-project
Is there a way to achieve this with
goxc
? (Apologies for the silly question!)The text was updated successfully, but these errors were encountered: