Skip to content

Commit 75ab50c

Browse files
committed
chore: only build binary for macOS
1 parent bc98203 commit 75ab50c

File tree

2 files changed

+4
-11
lines changed

2 files changed

+4
-11
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ jobs:
5252
- name: Build Package
5353
run: pnpm build
5454

55-
- name: Build Binary
56-
run: pnpm pkg:build
55+
- name: Build Binary (macOS)
56+
run: pnpm pkg:build:macos
5757

5858
- name: Create Checksum
5959
id: create_checksum

package.json

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@
1313
"todo-driven"
1414
],
1515
"license": "MIT",
16-
"files": [
17-
"dist"
18-
],
16+
"files": ["dist"],
1917
"type": "module",
2018
"bin": {
2119
"git-intent": "./dist/index.cjs"
@@ -30,17 +28,12 @@
3028
"start": "node dist/index.js",
3129
"format": "biome format",
3230
"format:fix": "biome format --write",
33-
"pkg:build": "pnpm pkg:build:macos && pnpm pkg:build:linux && pnpm pkg:build:win",
3431
"pkg:build:macos": "pkg . --no-bytecode -t node18-macos-arm64 -o build/git-intent-macos",
35-
"pkg:build:linux": "pkg . --no-bytecode -t node18-linux-x64 -o build/git-intent-linux",
36-
"pkg:build:win": "pkg . --no-bytecode -t node18-win-x64 -o build/git-intent-win.exe",
3732
"test": "vitest",
3833
"test:ui": "vitest --ui"
3934
},
4035
"pkg": {
41-
"assets": [
42-
"dist/**/*"
43-
],
36+
"assets": ["dist/**/*"],
4437
"outputPath": "build"
4538
},
4639
"dependencies": {

0 commit comments

Comments
 (0)