Git Product home page Git Product logo

ggdream / gopack Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 440 KB

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

License: MIT License

Go 100.00%
gopack golang gomodule gobuild cross-platform scripts-manager

gopack's Introduction

gopack Build Status

go get github.com/ggdream/gopack
  1. 项目文档
  2. 更新说明
  3. 使用实例

使用实例

  1. new:创建新项目

    通过-t这一局部参数可设置配置文件格式(在json、yaml和toml间选择)

    new

  2. init:为已有项目创建配置文件

    通过-t这一局部参数可设置配置文件格式(在json、yaml和toml间选择)

    init

  3. tidy:整理并更新包依赖 tidy

  4. run:执行在配置文件里定义的脚本命令 run

  5. build:编译项目为可执行文件 build

  6. pack:编译项目为可执行文件并压缩 pack

项目文档

待编写

gopack's People

Contributors

ggdream avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.