{"id":38734007,"url":"https://github.com/ghaoo/abuild","last_synced_at":"2026-01-17T11:29:00.285Z","repository":{"id":38354134,"uuid":"230560570","full_name":"ghaoo/abuild","owner":"ghaoo","description":"golang 自动编译工具，解放手动编译。当文件发生变动时自动执行 go build 命令并编译项目。","archived":false,"fork":false,"pushed_at":"2022-06-23T07:28:34.000Z","size":19,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-06-20T22:34:30.194Z","etag":null,"topics":["autobuild","go-tool","golang","golang-autobuild"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ghaoo.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-12-28T04:59:27.000Z","updated_at":"2024-06-20T22:34:30.195Z","dependencies_parsed_at":"2022-08-29T20:21:21.316Z","dependency_job_id":null,"html_url":"https://github.com/ghaoo/abuild","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ghaoo/abuild","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghaoo%2Fabuild","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghaoo%2Fabuild/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghaoo%2Fabuild/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghaoo%2Fabuild/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ghaoo","download_url":"https://codeload.github.com/ghaoo/abuild/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghaoo%2Fabuild/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28507593,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T10:25:30.148Z","status":"ssl_error","status_checked_at":"2026-01-17T10:25:29.718Z","response_time":85,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["autobuild","go-tool","golang","golang-autobuild"],"created_at":"2026-01-17T11:29:00.179Z","updated_at":"2026-01-17T11:29:00.265Z","avatar_url":"https://github.com/ghaoo.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# golang 自动编译工具\n\ngolang 自动编译工具，解放手动编译。当文件发生变动时自动执行 `go build` 命令并编译项目，再也不用频繁 `go build` 了！\n\n## 安装\n```go\ngo get -u github.com/ghaoo/abuild\n```\n\n## 使用\n\n**请确保 `github.com/ghaoo/abuild` 已经编译安装**\n\n命令行参数\n```go\nUsage:\n  \t-h    显示当前帮助信息\n  \t-f    指定main文件\n  \t-o    执行编译后的可执行文件名\n  \t-r    是否搜索子目录，默认为true\n```\n\n请在需要执行自动编译的文件夹下使用：\n\n```bash\n// 执行 abuild 命令\n abuild -f xxx.go -o xxx -r=false\n```\n\u003e 如果需要监听多个目录请在 `abuild` 命令下直接填写目录地址，如监听父目录和`xx`目录：`abuild ../ xx`\n\n自动编译默认只监听以 `.go` 为扩展名的文件，如需监听其他文件需创建文件 `.extensions`，并在文件中添加需要监听的文件扩展名\n比如增加以 `.conf` 为后缀的文件，在文件中填写:\n```go\n.go\n.conf\n```\n\n当存在 `.extensions` 并且文件中存在数据时只监听 `.extensions` 配置中的扩展名\n\n\u003e 至此，当监听的文件发生改变时 `abuild` 自动执行编译命令并重新启动，妈妈再也不用担心我天天 `go build` 了!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fghaoo%2Fabuild","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fghaoo%2Fabuild","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fghaoo%2Fabuild/lists"}