Skip to content
This repository was archived by the owner on Nov 3, 2021. It is now read-only.

Commit 62d2bea

Browse files
committed
Support Alpine Linux.
1 parent 39f323e commit 62d2bea

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Makefile

+6-2
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,18 @@ pkg:
6363
@echo "building binaries ..."
6464
@./node_modules/.bin/pkg \
6565
-c package.json \
66-
-t node10-linux-x64,node10-mac-x64,node10-win-x64 \
66+
-t node10-alpine-x64,node10-linux-x64,node10-mac-x64,node10-win-x64 \
6767
--out-path ./target/pkg \
6868
./target/hello.js
6969

7070
pkg-renamed: pkg
71-
@mkdir -p ./target/bin-linux ./target/bin-mac ./target/bin-windows
71+
@mkdir -p ./target/bin-alpine
72+
@mv ./target/pkg/hello-alpine ./target/bin-alpine/hello
73+
@mkdir -p ./target/bin-linux
7274
@mv ./target/pkg/hello-linux ./target/bin-linux/hello
75+
@mkdir -p ./target/bin-mac
7376
@mv ./target/pkg/hello-macos ./target/bin-mac/hello
77+
@mkdir -p ./target/bin-windows
7478
@mv ./target/pkg/hello-win.exe ./target/bin-windows/hello.exe
7579
@rm -fr ./target/pkg/
7680
@echo "-- redistributable binaries --"

0 commit comments

Comments
 (0)