Merge pull request #104 from darwindarak/master

Only parse `REQUIRE` file in `binder` (if exists)
pull/106/head
Yuvi Panda 2017-10-20 18:03:36 -07:00 zatwierdzone przez GitHub
commit 5b68f8503a
1 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -701,14 +701,14 @@ class JuliaBuildPack(BuildPack):
# Pre-compile all libraries if they've opted into it. `using {libraryname}` does the # Pre-compile all libraries if they've opted into it. `using {libraryname}` does the
# right thing # right thing
r""" r"""
cat "%s" >> ${JULIA_PKGDIR}/v0.6/REQUIRE && \ cat "%(require)s" >> ${JULIA_PKGDIR}/v0.6/REQUIRE && \
julia -e ' \ julia -e ' \
Pkg.resolve(); \ Pkg.resolve(); \
for pkg in keys(Pkg.Reqs.parse("REQUIRE")) \ for pkg in keys(Pkg.Reqs.parse("%(require)s")) \
eval(:(using $(Symbol(pkg)))) \ eval(:(using $(Symbol(pkg)))) \
end \ end \
' '
""" % require """ % { "require" : require }
)] )]
def detect(self): def detect(self):