-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
panic: could not locate box "static" #5
Comments
Hello, tl;dr:
Sorry I didn't notice this earlier. The exception occurs when go-rice cannot find the The solution would likely be to move those commands into the pre hooks within the goreleaser file, however I originally opted not to do this, as the Makefile seemed like the more appropriate place for hooks of that kind, since it's a more common entry point for people trying to build and install FOSS software (and so they don't necessarily have to become familiar with go-specific tooling). So, a user could simply run:
or:
If you think it's more appropriate to add the hooks to the goreleaser configuration file, it probably wouldn't hurt if the generate call is ran twice. |
Awesome @lrstanley. So this was actually ready, I generated the snap with make release and could start the server. Thanks a lot for your guidance. I proposed it in #6. |
Hello!
I'm trying to generate a snap package for this project using goreleaser. But I'm getting this error:
Snaps are the new packaging system that we are developing here at Ubuntu. They have a strong confinement, so the installed snap can only access the things allowed by the user. But I'm not sure what this "static" error could mean. Do you have any idea?
To try it in Ubuntu, extact the attached file and run:
linksml_0.2.2_amd64.zip
Here are my additions to the .goreleaser.yml file:
https://github.com/elopio/links.ml/blob/dc4d9488c3254d71bca2f6728b64365ee04ce97f/.goreleaser.yml#L20
The text was updated successfully, but these errors were encountered: