-
Notifications
You must be signed in to change notification settings - Fork 79
Project Layout for multiple binaries #105
Comments
Easy. Create 2 subfolders inside cmd/logging-client/logging-platform-client.go This is the usual way to lay out a Go project with multiple executables. On Wed, May 11, 2016 at 11:05 PM, Dennis Günnewig notifications@github.com
|
Thanks for the quick response, but that gives me a different error:
The config file {
"ArtifactsDest": "GoBuilds/",
"OutPath": "{{.Dest}}{{.PS}}{{.AppName}}{{.PS}}{{.Version}}{{.PS}}{{.AppName}}_{{.Version}}_{{.Os}}_{{.Arch}}{{.Ext}}",
"Tasks": [
"default"
],
"BuildConstraints": "linux windows darwin",
"PackageVersion": "0.1.0",
"TaskSettings": { },
"ConfigVersion": "0.9"
} |
I think it's related to having the binaries inside your tree. On Wed, May 11, 2016 at 11:33 PM, Dennis Günnewig notifications@github.com
|
Mmmh... I tried...
That didn't help. Here's the output of a |
OK. I see, it's the OutPath.
On Thu, May 12, 2016 at 12:02 AM, Dennis Günnewig notifications@github.com
|
Ah. Ok. So it's not possible to put them into a single archive? That's what I assumed first. |
It will. On Thu, May 12, 2016 at 12:17 AM, Dennis Günnewig notifications@github.com
|
Great! Thanks a lot. Now it works. |
Background
I would like to have two separate binaries compiled by
goxc
and packaged into a single archive:@laher Can you help me with that? I just trying to use go for my second small project. Thanks a lot in advance.
Problem
I'm not able to build the project with
goxc
though there seems to be support for projects with multiple binaries.The build fails with following error message:
Currently I structured the project the following way:
Environment
The text was updated successfully, but these errors were encountered: