We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
prepare
1 parent c304b67 commit 4764ea5Copy full SHA for 4764ea5
package.json
@@ -13,7 +13,7 @@
13
"coverage": "scripts/checks/coverage.sh",
14
"docs": "npm run prepare-docs && oz-docs",
15
"docs:watch": "oz-docs watch contracts docs/templates docs/config.js",
16
- "prepare": "git config --local core.hooksPath .githooks",
+ "prepare": "scripts/prepare.sh",
17
"prepare-docs": "scripts/prepare-docs.sh",
18
"lint": "npm run lint:js && npm run lint:sol",
19
"lint:fix": "npm run lint:js:fix && npm run lint:sol:fix",
scripts/prepare.sh
@@ -0,0 +1,5 @@
1
+#!/usr/bin/env bash
2
+
3
+set -euo pipefail
4
5
+if git status &>/dev/null; then git config core.hooksPath .githooks; fi
0 commit comments