Skip to content

Commit

Permalink
Apply patch before build
Browse files Browse the repository at this point in the history
  • Loading branch information
Saghen committed Jun 22, 2022
1 parent 21ceaeb commit d480131
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
"node": ">= 16"
},
"scripts": {
"prepare": "git submodule update --init --recursive && git apply espeakng-rs.patch --directory=espeakng-rs",
"prepare": "git apply espeakng-rs.patch --directory=espeakng-rs",
"artifacts": "napi artifacts",
"build": "napi build --platform --release",
"build:debug": "napi build --platform",
"build": "npm run prepare || napi build --platform --release",
"build:debug": "npm run prepare || napi build --platform",
"prepublishOnly": "napi prepublish -t npm",
"test": "ava",
"version": "napi version"
Expand Down

0 comments on commit d480131

Please sign in to comment.