Skip to content

Commit 438f4f3

Browse files
committed
[wip] build on install if local build
1 parent 721c8d0 commit 438f4f3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.prettierignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
dist

packages/nodejs/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"build": "tsc -p tsconfig.json",
3535
"build:watch": "tsc -p tsconfig.json -w --preserveWatchOutput",
3636
"clean": "rimraf dist coverage build && rimraf ext/appsignal-agent ext/libappsignal.a ext/appsignal.* ext/*.tar.gz ext/*.report",
37-
"install": "node scripts/extension/extension.js",
37+
"install": "if test -d src; then npm run build; fi; node scripts/extension/extension.js",
3838
"link:npm": "npm link",
3939
"link:yarn": "yarn link",
4040
"test": "jest --filter=./test/filter.js",

0 commit comments

Comments
 (0)