Skip to content

Commit 6cbf49f

Browse files
committed
chore: test compile script
1 parent df1a289 commit 6cbf49f

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

scripts/git-hooks/compile.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22
changedFiles="$(git diff-tree -r --name-only --no-commit-id ORIG_HEAD HEAD)"
3-
3+
echo "compile.sh"
44
runOnChange() {
55
echo "$changedFiles" | grep -q "$1" && eval "$2"
66
}

scripts/git-hooks/post-merge

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
#!/bin/bash
2-
pwd
3-
scripts/git-hooks/compile.sh
2+
./scripts/git-hooks/compile.sh

0 commit comments

Comments
 (0)