kopia lustrzana https://github.com/jupyterhub/repo2docker
18 wiersze
307 B
Plaintext
18 wiersze
307 B
Plaintext
![]() |
#!/usr/bin/env julia
|
||
|
# Verify the version:
|
||
|
if VERSION != v"0.6.3"
|
||
|
exit(1)
|
||
|
end
|
||
|
|
||
|
try
|
||
![]() |
# Test that the package was installed.
|
||
![]() |
using Compat
|
||
![]() |
|
||
|
# Verify that the environment variables are set correctly for julia <= 0.6
|
||
|
@assert "julia" ∈ readdir(Base.JULIA_HOME)
|
||
![]() |
catch
|
||
|
exit(1)
|
||
|
end
|
||
|
|
||
|
exit(0)
|