diff options
-rw-r--r-- | .gitignore | 28 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 14 insertions, 18 deletions
diff --git a/.gitignore b/.gitignore index 82b3c183d5d4..004b0a3a8706 100644 --- a/.gitignore +++ b/.gitignore @@ -1,14 +1,14 @@ -# from https://github.com/github/gitignore/blob/master/ArchLinuxPackages.gitignore -*.tar -*.tar.* -*.rpm -*.jar -*.exe -*.msi -*.zip -*.tgz -*.log -*.log.* -*.sig - -*/ +# Only exclude files from the root of the package repo, as some AUR helpers download sources into the directory of the repo, +# which causes the gitignore file to apply to them too, which breaks some builds +# Based on https://github.com/github/gitignore/blob/master/ArchLinuxPackages.gitignore +/*.tar +/*.tar.* +/*.rpm +/*.jar +/*.exe +/*.msi +/*.zip +/*.tgz +/*.log +/*.log.* +/*.sig @@ -31,10 +31,6 @@ _sourcedirectory="compass-$_pkgver" prepare() { cd "$srcdir/$_sourcedirectory/" - # Due to a bug in lerna, having a git repo in the parent directory is not supported (this is the case in some AUR helpers), - # we init a git repo in our source directory to make sure this doesn't happen - git init - # Disable husky command sed -i '/husky install/d' 'package.json' |