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

[编译错误]make build 时报错, 提示go-bindata 错误 #14

Closed
hotmanga opened this issue Sep 15, 2022 · 2 comments
Closed

[编译错误]make build 时报错, 提示go-bindata 错误 #14

hotmanga opened this issue Sep 15, 2022 · 2 comments

Comments

@hotmanga
Copy link

老师你好, 我在下载了 0.0.8 源码准备按照您的建议自行 make build 时发生了以下错误, 是我哪里操作有问题吗?

# 项目根目录运行 make build
$> make build
make bindata
go-bindata -pkg internal -o internal/internal.go internal/
make[1]: go-bindata: No such file or directory
make[1]: *** [bindata] Error 1
make: *** [build] Error 2
@crossoverJie
Copy link
Owner

直接使用

go build -ldflags "-s -w" cmd/gscript.go

试试

@hotmanga
Copy link
Author

编译成功了, 感谢老师.

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