diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/pyenv-ccache.rb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Library/Formula/pyenv-ccache.rb b/Library/Formula/pyenv-ccache.rb index 7e32bc808..3becd54ef 100644 --- a/Library/Formula/pyenv-ccache.rb +++ b/Library/Formula/pyenv-ccache.rb @@ -1,5 +1,3 @@ -require "formula" - class PyenvCcache < Formula homepage "https://github.com/yyuu/pyenv-ccache" url "https://github.com/yyuu/pyenv-ccache/archive/v0.0.2.tar.gz" @@ -8,9 +6,14 @@ class PyenvCcache < Formula head "https://github.com/yyuu/pyenv-ccache.git" depends_on "pyenv" + depends_on "ccache" => :recommended def install ENV["PREFIX"] = prefix system "./install.sh" end + + test do + assert shell_output("eval \"$(pyenv init -)\" && pyenv hooks install").include?("ccache.bash") + end end |
