mirror of
https://github.com/mnauw/git-remote-hg.git
synced 2026-01-19 04:32:05 +01:00
Clean up temporary directories on exit
This commit is contained in:
committed by
Mark Nauwelaerts
parent
704869df29
commit
da60201ae3
@@ -26,6 +26,11 @@ $workdir = "#{Dir.home}/.cache/git-remote-hg"
|
||||
$builddir = "/tmp/git-remote-hg-build"
|
||||
$testoutdir = "/tmp/git-remote-hg-tests"
|
||||
|
||||
at_exit {
|
||||
FileUtils.remove_entry($builddir)
|
||||
FileUtils.remove_entry($testoutdir)
|
||||
}
|
||||
|
||||
QUIET, LOW, HIGH = (1..3).to_a
|
||||
$verbosity = LOW
|
||||
|
||||
|
||||
Reference in New Issue
Block a user