I use
function campaign_directory()
return dirname(@__FILE__())
end
in the file campaign_directory.jl. Whenever I run this from, the directory of the campaign is correctly deduced.
I use
function campaign_directory()
return dirname(@__FILE__())
end
in the file campaign_directory.jl. Whenever I run this from, the directory of the campaign is correctly deduced.