Skip to content

Commit eec8ba7

Browse files
committed
Добавлены наброски git hook:
* для автоматического сбора epf и erf файлов из исходников после pull * -/- checkout * для автоматического раскладывания на исходники при добавлении в индекс epf и erf файлов (после раскладывания на исходники бинарник исключается из индекса)
1 parent 7a27812 commit eec8ba7

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

scripts/post-checkout

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/sh
2+
echo "Start hooks post-merge. Compile erf and epf files"
3+
oscript -encoding=utf-8 "utils\precommit1c\v8files-extractor.os" --compile "src\tests" "tests" --recursive

scripts/post-merge

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/sh
2+
echo "Start hooks post-merge. Compile erf and epf files"
3+
oscript -encoding=utf-8 "utils\precommit1c\v8files-extractor.os" --compile "src\tests" "tests" --recursive

scripts/pre-commit

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/sh
2+
echo "Start hooks before commit for v8unpack erf and epf"
3+
oscript -encoding=utf-8 "utils\precommit1c\v8files-extractor.os" --git-precommit "src" --remove-orig-bin-files

0 commit comments

Comments
 (0)