kopia lustrzana https://github.com/jupyterhub/repo2docker
Merge pull request #104 from darwindarak/master
Only parse `REQUIRE` file in `binder` (if exists)pull/106/head
commit
5b68f8503a
|
@ -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):
|
||||||
|
|
Ładowanie…
Reference in New Issue