Skip to content

Commit

Permalink
feat(package): Add 64-bit Windows package (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
72636c authored Jan 1, 2019
1 parent 4f1420e commit 024b277
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# H Y P E R S P A C E D

[![Build Status](https://cloud.drone.io/api/badges/72636c/hyperspaced/status.svg)](https://cloud.drone.io/72636c/hyperspaced)
[![Latest Release](https://img.shields.io/github/release/72636c/hyperspaced.svg?logo=github)](https://github.com/72636c/hyperspaced/releases/latest)

Command line utilities to improve the aesthetics of your favourite phrases with
automatic space insertion (ASI).
Expand Down
7 changes: 6 additions & 1 deletion scripts/build-package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ function build() {
export GOARCH="$GOARCH"
export GOOS="$GOOS"

go build -o "$OUTDIR/$GOOS-$GOARCH/$COMMAND" "./cmd/$COMMAND"
go build \
-ldflags '-extldflags "-static"' \
-o "$OUTDIR/$GOOS-$GOARCH/$COMMAND" \
"./cmd/$COMMAND"
)
}

Expand All @@ -32,6 +35,8 @@ OUTDIR="${OUTDIR:-$DEFAULT_OUTDIR}"

build darwin amd64 spaced
build linux amd64 spaced
build windows amd64 spaced

package darwin amd64
package linux amd64
package windows amd64

0 comments on commit 024b277

Please sign in to comment.