Skip to content

Commit fbb5199

Browse files
committed
build: add postbuild script to set executable permissions
Automatically sets executable permissions on build/git-metrics.js after TypeScript compilation to ensure the binary works correctly when installed.
1 parent 0f1c8e9 commit fbb5199

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
},
1010
"scripts": {
1111
"build": "tsc",
12+
"postbuild": "chmod +x build/git-metrics.js",
1213
"dev": "tsx src/git-metrics.ts",
1314
"start": "node build/git-metrics.js",
1415
"test": "vitest run",

0 commit comments

Comments
 (0)