diff options
| author | Mike McQuaid | 2013-09-12 17:31:40 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2013-09-12 17:53:22 +0100 |
| commit | 455fc25e6f2d0e627b44d85af04646eb96748455 (patch) | |
| tree | cd93c040b4c5a2d24b315e8d72212b5057396c4c /Library/Formula | |
| parent | 508cb709d1a53f34a28c9fe91378bbfeb8ce2b22 (diff) | |
| download | homebrew-455fc25e6f2d0e627b44d85af04646eb96748455.tar.bz2 | |
nginx: add configuration test.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/nginx.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Formula/nginx.rb b/Library/Formula/nginx.rb index c0b9ab526..1cf8a33e4 100644 --- a/Library/Formula/nginx.rb +++ b/Library/Formula/nginx.rb @@ -118,6 +118,10 @@ class Nginx < Formula end end + test do + system "#{bin}/nginx", '-t' + end + def passenger_caveats; <<-EOS.undent To activate Phusion Passenger, add this to #{etc}/nginx/nginx.conf: |
