mirror of
https://github.com/actions-rs/toolchain.git
synced 2025-08-15 05:15:07 +00:00
Automaticall install git hooks when running pretest
This commit is contained in:
parent
08b0276e0f
commit
1b8f85b8ea
@ -11,6 +11,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "ncc build src/main.ts --minify",
|
"build": "ncc build src/main.ts --minify",
|
||||||
"watch": "ncc build src/main.ts --watch",
|
"watch": "ncc build src/main.ts --watch",
|
||||||
|
"pretest": "git config core.hooksPath .githooks",
|
||||||
"test": "jest"
|
"test": "jest"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user