You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
371 B
13 lines
371 B
if length(ARGS) == 1
|
|
for (root, dirs, files) in walkdir(joinpath(ARGS[1],"src"))
|
|
for file in files
|
|
f,l = splitext(file)
|
|
if l == ".jl" && startswith(f,"day_")
|
|
@info string("Running ", file)
|
|
include(joinpath(root,file))
|
|
end
|
|
end
|
|
end
|
|
elseif length(ARGS) == 2
|
|
include(joinpath(ARGS[1],"src",string("day_",ARGS[2],".jl")))
|
|
end
|