kopia lustrzana https://github.com/jupyterhub/repo2docker
21 wiersze
347 B
Plaintext
21 wiersze
347 B
Plaintext
![]() |
#!/usr/bin/env julia
|
||
![]() |
# Verify the version:
|
||
![]() |
if VERSION < v"1.1.0"
|
||
![]() |
exit(1)
|
||
|
end
|
||
|
|
||
![]() |
using Pkg
|
||
![]() |
pkg"activate ."
|
||
![]() |
|
||
![]() |
try
|
||
|
# Test that the package was installed.
|
||
|
using IteratorInterfaceExtensions
|
||
![]() |
|
||
![]() |
# Verify that the environment variables are set correctly for julia 1.0+
|
||
|
@assert "julia" ∈ readdir(Sys.BINDIR)
|
||
|
catch
|
||
|
exit(1)
|
||
|
end
|
||
![]() |
|
||
|
exit(0)
|