blob: 3becd54ef9912ff303d6753470548a2f5e69eb2b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
class PyenvCcache < Formula
homepage "https://github.com/yyuu/pyenv-ccache"
url "https://github.com/yyuu/pyenv-ccache/archive/v0.0.2.tar.gz"
sha1 "bd68c92315c5aa8e2d596981f0fab31e6c366137"
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
|