Skip to content

Commit e4e946a

Browse files
committed
chore: add aur pkg gitignore
1 parent 0ec08db commit e4e946a

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

assets/pkg/aur/copy-gitignore.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#/usr/bin/env bash
2+
set -e
3+
4+
MYSELF=$(realpath "$0")
5+
MYDIR=$(dirname "$MYSELF")
6+
7+
for pkg in "$MYDIR"/*/; do
8+
cp "$MYDIR/pkg.gitignore" "$pkg/.gitignore"
9+
done

assets/pkg/aur/pkg.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
*
2+
!PKGBUILD
3+
!.SRCINFO

0 commit comments

Comments
 (0)