Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Songmu committed Dec 26, 2017
1 parent b7bddd8 commit 775818d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ Built binaries are available on gihub releases.

```console
# in your repository
% gozx -v 0.0.1 -os=linux,darwin -arch=amd64 ./cmd/mytool [...]
% gozx -pv 0.0.1 -os=linux,darwin -arch=amd64 ./cmd/mytool [...]

# archives are built into `./goxz` directory
# archives are built into `./goxz` directory by default (configurable by `-d` option)
% tree ./goxz
goxz/
├── yourapp_0.0.1_darwin_amd64.zip
Expand Down Expand Up @@ -77,14 +77,17 @@ or

## Options

- `d` destination directory (`./goxz` by default)
- `os`
- os: linux,darwin and windows by default
- `arch`
- arc: arm64 only by default
- `-pv` for version specification
- `-build-ldflags` / `-build-tags`
- arch: arm64 only by default
- `-pv` for speicifing version (optional)
- `-o` output filename
- not compatible with multiple package building
- not available with multiple package building
- `-z` to use zip always to compless
- by default, zip is used on "windows and "darwin", tar.gz is used on other OS
- `-build-ldflags` / `-build-tags`

## Author

Expand Down
Binary file added goxz_v0.0.1_darwin_amd64.zip
Binary file not shown.

0 comments on commit 775818d

Please sign in to comment.