aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/lib/config.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/test/lib/config.rb')
-rw-r--r--Library/Homebrew/test/lib/config.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/Library/Homebrew/test/lib/config.rb b/Library/Homebrew/test/lib/config.rb
new file mode 100644
index 000000000..63b3e0064
--- /dev/null
+++ b/Library/Homebrew/test/lib/config.rb
@@ -0,0 +1,8 @@
+HOMEBREW_PREFIX = Pathname.new(TEST_TMPDIR).join("prefix")
+HOMEBREW_REPOSITORY = HOMEBREW_PREFIX
+HOMEBREW_LIBRARY = HOMEBREW_REPOSITORY+"Library"
+HOMEBREW_CACHE = HOMEBREW_PREFIX.parent+"cache"
+HOMEBREW_CACHE_FORMULA = HOMEBREW_PREFIX.parent+"formula_cache"
+HOMEBREW_CELLAR = HOMEBREW_PREFIX.parent+"cellar"
+HOMEBREW_LOGS = HOMEBREW_PREFIX.parent+"logs"
+HOMEBREW_TEMP = Pathname.new(ENV["HOMEBREW_TEMP"] || "/tmp")