I have a package layed out something like this:

Package
   Package.jl
   src
        file1.jl
        submodule.jl
             module SubModule
                 export subThing
             end
        file2.jl
             ...use subThing...

Package.jl
   include("src/file1.jl")
   include( "src/submodule.jl")
   using SubModule
   include( "src/file2.jl" )

which causes (v0.4) ERROR: LoadError: ArgumentError: Sub not found in path
   and so does
   ... import SubModule: subThing
  
Is there a way to do this without making SubModule a separate package?

Reply via email to