All Projects → caixw → gobuild

caixw / gobuild

Licence: MIT License
Go 语言热编译工具

Programming Languages

go
31211 projects - #10 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to gobuild

hotbuild
a cross platform hot compilation tool for golang
Stars: ✭ 181 (+269.39%)
Mutual labels:  fsnotify, watcher
build-size-watcher
Keep your bundle size in check and detect when it gets too big.
Stars: ✭ 16 (-67.35%)
Mutual labels:  build, watcher
Godo
golang build tool in the spirt of rake, gulp
Stars: ✭ 523 (+967.35%)
Mutual labels:  build, watcher
eslint4b
ESLint which works in browsers.
Stars: ✭ 33 (-32.65%)
Mutual labels:  build
pytest-watcher
Rerun pytest when your code changes
Stars: ✭ 60 (+22.45%)
Mutual labels:  watcher
airin
A framework for automated migration of your projects to Bazel build system.
Stars: ✭ 21 (-57.14%)
Mutual labels:  build
serverless-build-plugin
A Node.js focused build plugin for serverless.
Stars: ✭ 42 (-14.29%)
Mutual labels:  build
SwiftFSWatcher
A simple easy to use / extend File System watcher using Swift
Stars: ✭ 35 (-28.57%)
Mutual labels:  watcher
real-world-bazel
Bazel build files collected from real-world GitHub projects
Stars: ✭ 24 (-51.02%)
Mutual labels:  build
simple-targets-csx
⊙ A minimalist target runner for C# scripts.
Stars: ✭ 17 (-65.31%)
Mutual labels:  build
cheap-watch
If it works, why use something else? // Mirror of https://git.chor.date/Conduitry/cheap-watch
Stars: ✭ 64 (+30.61%)
Mutual labels:  watcher
netlify-plugin-cache
⚡ Generic plugin for caching any files and/or folders between Netlify builds
Stars: ✭ 19 (-61.22%)
Mutual labels:  build
freedom-middleware-webpack2
webpack2前端项目开发构建中间件,方便统一管理前端项目中95%以上的构建工作
Stars: ✭ 35 (-28.57%)
Mutual labels:  build
zig-header-gen
Automatically generate headers/bindings for other languages from Zig code
Stars: ✭ 40 (-18.37%)
Mutual labels:  build
watcher
The file system watcher that strives for perfection, with no native dependencies and optional rename detection support.
Stars: ✭ 37 (-24.49%)
Mutual labels:  watcher
DirectoryWatcher
LIstener for changes in a specified folder
Stars: ✭ 33 (-32.65%)
Mutual labels:  watcher
hidev
Automation tool mixed with code generator for easier continuous development
Stars: ✭ 27 (-44.9%)
Mutual labels:  build
drevops
💧 + 🐳 + ✓✓✓ + 🤖 + ❤️ Build, Test, Deploy scripts for Drupal using Docker and CI/CD
Stars: ✭ 55 (+12.24%)
Mutual labels:  build
sp-build-tasks
👷 SharePoint front-end projects automation and tasks tool-belt
Stars: ✭ 15 (-69.39%)
Mutual labels:  build
platform-atmelavr
Atmel AVR: development platform for PlatformIO
Stars: ✭ 97 (+97.96%)
Mutual labels:  build

gobuild Test PkgGoDev Go version License

gobuild 是一个简单的 Go 代码热编译工具。 会实时监控指定目录下的文件变化(重命名,删除,创建,添加),并编译和运行程序。

命令行语法:

gobuild [options] [dependents]

options:
 -h    显示当前帮助信息;
 -v    显示 gobuild 和 Go 程序的版本信息;
 -r    是否搜索子目录,默认为 true;
 -i    是否显示被标记为 IGNORE 的日志内容,默认为 false,即不显示;
 -o    执行编译后的可执行文件名;
 -x    传递给编译程序的参数;
 -ext  需要监视的扩展名,默认值为"go",区分大小写,会去掉每个扩展名的首尾空格。
       若需要监视所有类型文件,请使用 *,传递空值代表不监视任何文件;
 -main 指定需要编译的文件,默认为""。

dependents:
 指定其它依赖的目录,只能出现在命令的尾部。

常见用法:

# 监视当前目录下的文件,若发生变化,则触发 go build -main="*.go"
gobuild

# 监视当前目录和 ~/Go/src/github.com/issue9/term 目录下的文件,
# 若发生变化,则触发 go build -main="main.go"
gobuild -main=main.go ~/Go/src/github.com/issue9/term

支持平台

平台支持依赖 colorsfsnotify 两个模块, 目前支持以下平台:windows, linux, macOS, BSD。

安装

macOS 和 linux 用户可以直接使用 brew 进行安装:

brew tap caixw/brew
brew install caixw/brew/gobuild

常用平台可以从 https://github.com/caixw/gobuild/releases 下载,并将二进制文件放入 PATH 即可。

如果不存在你当前平台的二进制,可以自己编译:

git clone https://github.com/caixw/gobuild.git
cd gobuild
./build.sh

版权

本项目采用 MIT 开源授权许可证,完整的授权说明可在 LICENSE 文件中找到。

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].