Skip to content
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

Fails to build #6

Closed
tgunr opened this issue Sep 16, 2016 · 2 comments
Closed

Fails to build #6

tgunr opened this issue Sep 16, 2016 · 2 comments

Comments

@tgunr
Copy link

tgunr commented Sep 16, 2016

[pve]/usr/local/src/zfs-snap-diff (master): ./build.pl build
generate 'bindata.go': (go-bindata -ignore=go-bindata -ignore=.git -ignore=config.json -ignore=README -ignore=angular-mocks.js -ignore='emacs.*core' webapp/...)
flag provided but not defined: -ignore
Usage: go-bindata [options] <input directories>

  -debug=false: Do not embed the assets, but provide the embedding API. Contents will still be loaded from disk.
  -nocompress=false: Assets will *not* be GZIP compressed when this flag is specified.
  -nomemcopy=false: Use a .rodata hack to get rid of unnecessary memcopies. Refer to the documentation to see what implications this carries.
  -o="./bindata.go": Optional name of the output file to be generated.
  -pkg="main": Package name to use in the generated code.
  -prefix="": Optional path prefix to strip off asset names.
  -tags="": Optional set of uild tags to include.
  -version=false: Displays version information.
Uncaught exception from user code:
    unable to build 'bindata.go' at ./build.pl line 170.
    main::gen_bindata() called at ./build.pl line 65
    main::build called at ./build.pl line 27
@j-keck
Copy link
Owner

j-keck commented Sep 17, 2016

What version of go-bindata did you have?

The '-ignore' flag is a feature since Apr 30, 2014: jteeuwen/go-bindata@7f6fddd.
So any version >= v3.0.6 should work.

You can:

  • update go-bindata per: go get -u github.com/jteeuwen/go-bindata
  • use the newest version of zfs-snap-diff from the master or dev branch
    where running go-bindata after a fresh checkout is not necessary (see dcffc08)

@j-keck
Copy link
Owner

j-keck commented Oct 30, 2016

old version of go-bindata - so i close this

@j-keck j-keck closed this as completed Oct 30, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants