github.com/myorg/package-a -> Main package, gets compiled
github.com/myorg/package-b -> Boxes are located in this package, this package does not get compiled on it's own, it just acts as a shared library for multiple packages
package-a is the main application and imports package-b functionality. package-b has the static assets.
I compile my application this way:
packr build -o $GOPATH/bin/package-a ./main.go
After building it, there are seemingly no artifacts from packr to be found from within package-a and everything compiles fine but the boxes are not found.
What am I doing wrong? Is packr supposed to recursively generate artifacts for all imported libraries?
Go Version: 1.12.6
Problem: I have two packages:
github.com/myorg/package-a
-> Main package, gets compiledgithub.com/myorg/package-b
-> Boxes are located in this package, this package does not get compiled on it's own, it just acts as a shared library for multiple packagespackage-a is the main application and imports package-b functionality. package-b has the static assets.
I compile my application this way:
After building it, there are seemingly no artifacts from packr to be found from within package-a and everything compiles fine but the boxes are not found.
What am I doing wrong? Is packr supposed to recursively generate artifacts for all imported libraries?