mirror of
https://github.com/dwinkler1/np.git
synced 2026-11-17 15:26:18 -05:00
19 lines
284 B
Julia
19 lines
284 B
Julia
|
|
#!/usr/bin/env julia
|
||
|
|
|
||
|
|
packages = ["StatsBase"]
|
||
|
|
failed = String[]
|
||
|
|
|
||
|
|
for pkg in packages
|
||
|
|
try
|
||
|
|
@eval using $pkg
|
||
|
|
catch
|
||
|
|
push!(failed, pkg)
|
||
|
|
end
|
||
|
|
end
|
||
|
|
|
||
|
|
if !isempty(failed)
|
||
|
|
@error "FAIL: $(join(failed, ", "))"
|
||
|
|
exit(1)
|
||
|
|
end
|
||
|
|
|
||
|
|
println("PASS: all packages loaded")
|