qt-luigi / unzip4win

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

unzip4win

CircleCI

ref: kazuhisa/zip4win

Usage

$ unzip4win -h
Usage of Unzip4win:
  unzip4win [OPITIONS] <zip-file-path>
Options
  -config string
        Set path to customized config.toml.
  -debug
        If this flag is settle, output debug log!

for Developer

Requirement

This app using go module. If you clone into GOPATH, set ENVIRONMENT GO111MODULE=on.

global golang commands

install commands below with go get

  • go-assets-builder
$ go get -u \
    github.com/jessevdk/go-assets-builder
    

Build

build with make

If you can use make command, you can build using make.

  1. clone this repository
  2. edit config.toml as default parameters
  3. make
$ mkdir -p ${GOPATH}/src/github.com/hayashima
$ cd ${GOPATH}/src/github.com/hayashima
$ git clone https://github.com/hayashima/unzip4win.git
$ cd unzip4win
$ cp config.toml.sample config.toml
$ vi config.toml
# edit for your environment
$ make
build with docker

The repository contains docker-compose.yml for building binaries. If you install docker and docker-compose, you can build binaries with docker.

  1. clone this repository
  2. edit config.toml as default parameters
  3. docker-compose up
$ mkdir -p ${GOPATH}/src/github.com/hayashima
$ cd ${GOPATH}/src/github.com/hayashima
$ git clone https://github.com/hayashima/unzip4win.git
$ cd unzip4win
$ cp config.toml.sample config.toml
$ vi config.toml
# edit for your environment
$ docker-compose up
other
  1. clone this repository
  2. install dependencies
  3. edit config.toml as default parameters
  4. create assets
  5. go build!
$ mkdir -p ${GOPATH}/src/github.com/hayashima
$ cd ${GOPATH}/src/github.com/hayashima
$ git clone https://github.com/hayashima/unzip4win.git
$ cd unzip4win
$ go mod download
$ cp config.toml.sample config.toml
$ vi config.toml
# edit for your environment
$ go generate
$ go build -o unzip4win main.go

About


Languages

Language:Go 93.8%Language:Shell 3.2%Language:Makefile 3.0%