mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-06 16:52:25 +00:00
Add hard reset and clean to postpush script.
This commit is contained in:
parent
ee77ec43ca
commit
fb3753c55d
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ if ($buildneeded) {
|
||||||
} else {
|
} else {
|
||||||
close(STDIN); close(STDOUT); close(STDERR); # child process
|
close(STDIN); close(STDOUT); close(STDERR); # child process
|
||||||
system 'echo Syncing voc>postpush.log';
|
system 'echo Syncing voc>postpush.log';
|
||||||
system '(cd voc; git pull; git checkout -f ' . $branch . '; git pull; git checkout -f) >>postpush.log';
|
system '(cd voc; git reset --hard; git clean -dfx; git pull; git checkout -f ' . $branch . '; git pull; git checkout -f) >>postpush.log';
|
||||||
exec 'perl voc/src/tools/make/buildall.pl ' . $branch . ' >/tmp/buildall.log';
|
exec 'perl voc/src/tools/make/buildall.pl ' . $branch . ' >/tmp/buildall.log';
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue