An open API service indexing awesome lists of open source software.

https://github.com/ggdream/gopack

[gopack]: 对go.mod的tidy和build封装,另加了一些自定义功能。现支持:初始化项目,初始化配置文件,快速交叉编译并打包成压缩包(Linux和Macos:tar.gz;Windows: zip),类似`npm run #`和`go generate`的脚本定义执行功能
https://github.com/ggdream/gopack

cross-platform gobuild golang gomodule gopack scripts-manager

Last synced: about 1 month ago
JSON representation

[gopack]: 对go.mod的tidy和build封装,另加了一些自定义功能。现支持:初始化项目,初始化配置文件,快速交叉编译并打包成压缩包(Linux和Macos:tar.gz;Windows: zip),类似`npm run #`和`go generate`的脚本定义执行功能

Awesome Lists containing this project

README

        

# gopack [![Build Status](https://travis-ci.com/ggdream/gopack.svg?branch=main)](https://travis-ci.com/ggdream/gopack)

~~~shell
go get github.com/ggdream/gopack
~~~

1. [项目文档](#项目文档)
2. [更新说明](docs/update.md)
3. [使用实例](docs/example.md)

# 使用实例
1. new:创建新项目
> 通过-t这一局部参数可设置配置文件格式(在json、yaml和toml间选择)

![new](docs/_assets/new.png)

2. init:为已有项目创建配置文件
> 通过-t这一局部参数可设置配置文件格式(在json、yaml和toml间选择)

![init](docs/_assets/init.png)

3. tidy:整理并更新包依赖
![tidy](docs/_assets/tidy.png)

4. run:执行在配置文件里定义的脚本命令
![run](docs/_assets/run.png)

5. build:编译项目为可执行文件
![build](docs/_assets/build.png)

6. pack:编译项目为可执行文件并压缩
![pack](docs/_assets/pack.png)

# 项目文档
待编写