diff options
| author | Adam Vandenberg | 2013-10-26 15:39:39 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2013-10-26 15:39:39 -0700 |
| commit | 8bac55ce61f8763ee1a1fc43e7d6163f6ddb2a63 (patch) | |
| tree | 3937e9ace9a6cffb03878067cccea2d0ecc54470 /Library | |
| parent | c7599a0ae0efe1bde80418bb80b38835c0cf5af0 (diff) | |
| download | homebrew-8bac55ce61f8763ee1a1fc43e7d6163f6ddb2a63.tar.bz2 | |
add note about test path to create template
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/create.rb | 3 |
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 |
