Open HusenHuang opened 6 months ago
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
gfcli: build: name: "gf" arch: "arm64" system: "linux" mod: "none" packSrc: "resource,manifest" version: "v1.0.0" output: "./bin" extra: ""
Use gres.Dump() to view the packaged files, showing TOTAL FILES: 0
(base) xiaohuangdeMacBook-Pro:edgebox huang$ gf build --debug=true 2024-03-15 17:30:07.997 [DEBU] /home/runner/work/gf/gf/cmd/gf/internal/cmd/cmd_build.go:148: build command input: {Meta:{} File: Name:edgebox Version:v1.0.0 Arch:arm64 System:linux Output: Path:./bin Extra: Mod:none Cgo:false VarMap:map[] PackSrc:manifest,resource PackDst:internal/packed/build_pack_data.go ExitWhenError:false DumpENV:false} 2024-03-15 17:30:07.998 /home/runner/work/gf/gf/cmd/gf/internal/cmd/cmd_build.go:227: gf pack manifest,resource internal/packed/build_pack_data.go --keepPath=true 2024-03-15 17:30:08.106 done! 2024-03-15 17:30:08.163 [DEBU] /home/runner/work/gf/gf/cmd/gf/internal/cmd/cmd_build.go:373: git log -1 --format="%cd %H" --date=format:"%Y-%m-%d %H:%M:%S" 2024-03-15 17:30:08.164 /home/runner/work/gf/gf/cmd/gf/internal/cmd/cmd_build.go:238: start building... 2024-03-15 17:30:08.164 [DEBU] /home/runner/work/gf/gf/cmd/gf/internal/cmd/cmd_build.go:328: build for GOOS=linux GOARCH=arm64 2024-03-15 17:30:08.164 [DEBU] /home/runner/work/gf/gf/cmd/gf/internal/cmd/cmd_build.go:329: go build -o ./bin/v1.0.0/linux_arm64/edgebox -ldflags "-X 'github.com/gogf/gf/v2/os/gbuild.builtInVarStr=eyJidWlsdEdpdCI6IjIwMjQtMDMtMTUgMTc6MjM6NTggMGQzMDM4NTBjYzE2YWE5Y2M0NWZkZjQ5YjFjNjczYjNlYWNjNTVlNiIsImJ1aWx0VGltZSI6IjIwMjQtMDMtMTUgMTc6MzA6MDgiLCJidWlsdFZlcnNpb24iOiJ2MS4wLjAifQ=='" main.go 2024-03-15 17:30:08.164 /home/runner/work/gf/gf/cmd/gf/internal/cmd/cmd_build.go:332: go build -o ./bin/v1.0.0/linux_arm64/edgebox main.go 2024-03-15 17:30:12.229 [DEBU] /home/runner/work/gf/gf/cmd/gf/internal/cmd/cmd_build.go:343: 2024-03-15 17:30:12.229 /home/runner/work/gf/gf/cmd/gf/internal/cmd/cmd_build.go:281: done! 2024-03-15 17:30:12.229 /home/runner/work/gf/gf/cmd/gf/internal/cmd/cmd_build.go:221: remove the automatically generated resource go file: internal/packed/build_pack_data.go
@HusenHuang 你的程序中没有import packed
这个包吧,路径在internal/packed
。
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
@HusenHuang There is no
import packed
package in your program, the path isinternal/packed
.
使用gres.Dump()查看打包后的文件,显示 TOTAL FILES: 0