aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Vandenberg2013-10-26 15:39:39 -0700
committerAdam Vandenberg2013-10-26 15:39:39 -0700
commit6857e2ed34b35e2a8168f4cd47d3cc3e057a92bd (patch)
treea2fc6726fbd09377d2b88875aa02b9207b28910f
parent383b321119e0faab57905ebe1e7cdd9114eb03ac (diff)
downloadbrew-6857e2ed34b35e2a8168f4cd47d3cc3e057a92bd.tar.bz2
add note about test path to create template
-rw-r--r--Library/Homebrew/cmd/create.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/create.rb b/Library/Homebrew/cmd/create.rb
index cd23153bc..9a718b77d 100644
--- a/Library/Homebrew/cmd/create.rb
+++ b/Library/Homebrew/cmd/create.rb
@@ -164,6 +164,9 @@ class FormulaCreator
# This test will fail and we won't accept that! It's enough to just replace
# "false" with the main program this formula installs, but it'd be nice if you
# were more thorough. Run the test with `brew test #{name}`.
+ #
+ # The installed folder is not in the path, so use the entire path to any
+ # executables being tested: `system "#{bin}/program", "--version"`.
system "false"
end
end