https://github.com/midoks/zzz
go develop tool
https://github.com/midoks/zzz
Last synced: about 1 year ago
JSON representation
go develop tool
- Host: GitHub
- URL: https://github.com/midoks/zzz
- Owner: midoks
- License: mit
- Created: 2021-10-10T19:03:01.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-07-29T03:33:08.000Z (almost 2 years ago)
- Last Synced: 2024-12-26T10:41:44.113Z (over 1 year ago)
- Language: Go
- Size: 40 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
# zzz
Go实时开发小工具
```
原来用的bee,很好用哈。最近开发项目遇到一个需求。需求是编译前预处理一下,所以搞一下。
```
### 安装
```bash
go install github.com/midoks/zzz@latest
```
### 直接运行
```bash
zzz run
```
### 创建配置文件
```bash
zzz new
```
- .zzz.yaml
```
title: zzz
frequency: 3
dirfilter:
- tmp
- .git
- public
- scripts
- vendor
- logs
- templates
ext:
- go
enablerun: true
action:
before:
- find . -name ".DS_Store" -print -delete
after:
- echo "zzz end"
exit:
- exho "exit"
link: https://github.com/midoks/zzz
```
- frequency:编译时间间隔,单位秒
- dirfilter:不监控目录
- ext:监控文件后缀
- action.before:执行前处理
- action.after:执行后处理
- action.exit:退出执行
- enablerun:是否直接执行[go]