Merge pull request #27 from xuhcc/disable-husky

Remove husky from dependencies
main
Alfredo Palhares 2019-09-10 10:55:19 +01:00 committed by GitHub
commit bfef232671
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -21,6 +21,9 @@ sha256sums=('1d5676ded18ae55d31d0dfc8e46a1646a045df94d9c169e68451536ebd9cb653'
'a24bd0c1446bbcc88648fe22dc3e1fbbf7029919336504a833a2fee74e64f6a9') 'a24bd0c1446bbcc88648fe22dc3e1fbbf7029919336504a833a2fee74e64f6a9')
build() { build() {
# Remove husky (git hooks) from dependencies
cd "${srcdir}/${pkgname}-${pkgver}"
sed -i '/"husky": ".*"/d' package.json
# Install dependencies for the Tools used on another projects # Install dependencies for the Tools used on another projects
cd "${srcdir}/${pkgname}-${pkgver}/Tools" cd "${srcdir}/${pkgname}-${pkgver}/Tools"