Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/essentialkaos/gopack
A simple tool for packing Go packages sources with all dependencies
https://github.com/essentialkaos/gopack
golang packer utility
Last synced: about 2 months ago
JSON representation
A simple tool for packing Go packages sources with all dependencies
- Host: GitHub
- URL: https://github.com/essentialkaos/gopack
- Owner: essentialkaos
- License: apache-2.0
- Created: 2016-03-19T12:14:52.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2024-06-16T11:56:14.000Z (7 months ago)
- Last Synced: 2024-06-20T16:36:23.009Z (7 months ago)
- Topics: golang, packer, utility
- Language: Shell
- Homepage: https://kaos.sh/gopack
- Size: 204 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
Usage demo • Installation • Usage • Build Status • License
`gopack` is a simple tool for packing Go package sources. This utility downloads package sources with all dependencies (through `glide`, `dep`, `go mod` or `go get`) and packs them into an archive.
`gopack-build` is a simple tool for building binaries from sources archive.
### Usage demo
#### `gopack`
[![demo](https://gh.kaos.st/gopack-1132.gif)](#usage-demo)
#### `gopack-build`
[![demo](https://gh.kaos.st/gopack-build-126.gif)](#usage-demo)
### Installation
#### From ESSENTIAL KAOS Public repository
```bash
sudo yum install -y https://yum.kaos.st/kaos-repo-latest.el$(grep 'CPE_NAME' /etc/os-release | tr -d '"' | cut -d':' -f5).noarch.rpm
sudo yum install gopack gopack-build
```#### From GitHub repository
```bash
curl -o gopack https://kaos.sh/gopack/SOURCES/gopack
curl -o gopack-build https://kaos.sh/gopack/SOURCES/gopack-build
chmod +x gopack gopack-build
sudo mv gopack gopack-build /usr/bin/
```Also, you can use the latest version of utilities without installation:
```bash
bash <(curl -fsSL https://kaos.sh/gopack/SOURCES/gopack) # pass options here
bash <(curl -fsSL https://kaos.sh/gopack/SOURCES/gopack-build) # pass options here
```#### Using Makefile and Git
```bash
git clone https://kaos.sh/gopack.git
cd gopack
sudo make install
```### Usage
#### `gopack`
#### `gopack-build`
### Build Status
| Branch | Status |
|--------|--------|
| `master` | [![CI](https://kaos.sh/w/gopack/ci.svg?branch=master)](https://kaos.sh/w/gopack/ci?query=branch:master) |
| `develop` | [![CI](https://kaos.sh/w/gopack/ci.svg?branch=develop)](https://kaos.sh/w/gopack/ci?query=branch:develop) |### License
[Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0)