Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

hayashima/unzip4win

Repository files navigation

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

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published