Skip to content

Commit 024b277

Browse files
authored
feat(package): Add 64-bit Windows package (#6)
1 parent 4f1420e commit 024b277

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# H Y P E R S P A C E D
22

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

56
Command line utilities to improve the aesthetics of your favourite phrases with
67
automatic space insertion (ASI).

scripts/build-package.sh

+6-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@ function build() {
1212
export GOARCH="$GOARCH"
1313
export GOOS="$GOOS"
1414

15-
go build -o "$OUTDIR/$GOOS-$GOARCH/$COMMAND" "./cmd/$COMMAND"
15+
go build \
16+
-ldflags '-extldflags "-static"' \
17+
-o "$OUTDIR/$GOOS-$GOARCH/$COMMAND" \
18+
"./cmd/$COMMAND"
1619
)
1720
}
1821

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

3336
build darwin amd64 spaced
3437
build linux amd64 spaced
38+
build windows amd64 spaced
3539

3640
package darwin amd64
3741
package linux amd64
42+
package windows amd64

0 commit comments

Comments
 (0)