-
Notifications
You must be signed in to change notification settings - Fork 719
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'make deps' fails due to undefined Asset in api.go #2
Comments
@stevencothren check master, i made a tweak to the makefile, it should not fail on fresh checkout now. |
Ok. This is the change I made previously here : #3 I see now that you replied there too. Is there no way to resolve both issues? Just curious |
thats alright for now — On Fri, Oct 24, 2014 at 9:06 PM, Steven Cothren notifications@github.com
|
It actually looks like the absolute paths are only included when go-bindata is run with -debug option. What do you think about including the non-debug version in the repository? Alternatively, I have been looking at adding an option to go-bindata to use relative paths, which would mean you could include the debug version along with that option. Thoughts? |
Im not sure about release assets being included in the repo, feels like duplication to me. Compiling I'm okay with updated |
Hello,
I get the following error when trying to run 'make deps' on a fresh checkout.
go get
github.com/pgweb
./api.go:27: undefined: Asset
./api.go:156: undefined: Asset
make: *** [deps] Error 2
The issue is that Asset doesn't get defined until after running 'go-bindata ...' to generate the bindata.go file.
If you include the bindata.go that is generated from 'go-bindata -debug ...' in your project then everything will work and subsequent calls to 'make dev' or 'make build' will overwrite as expected.
Alternatively, you could include the 'go-bindata ... ' call as part of 'make deps', but then 'go get' will need to move down the chain.
The text was updated successfully, but these errors were encountered: