Skip to content

Commit b976a1f

Browse files
feat(core): do not rebuild native if prebuilt is present
According to documentation, this checks for an existing prebuild for the current arch and skip building in `packages/core/build` if it found it. "The install script will check if a compatible prebuild is bundled. If so it does nothing. If not it will run node-gyp rebuild to produce a build. This means that if the user using your module has disabled install scripts your module will still work (!) as long as a compatible prebuild is bundled." https://github.com/prebuild/prebuildify
1 parent f980b13 commit b976a1f

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

packages/core/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
"name": "@codspeed/core",
33
"version": "5.0.0-alpha.2",
44
"description": "The core Node library used to integrate with Codspeed runners",
5+
"scripts": {
6+
"install": "node-gyp-build"
7+
},
58
"keywords": [
69
"codspeed",
710
"benchmark",

0 commit comments

Comments
 (0)