Actually yes, there is a concept of sub-projects, which have their own sets of dependencies, and can contain their own top-level modules. We are using this for our test code – it’s its own project, with its own dependencies, including a dependency on the main package, and contains its own top-level module. By making it a sub-project, we can achieve this while keeping it all in the same git repository, and without including the test-specific dependencies in the main package. Although this technique works decently well, it feels a bit under-developed at the moment. More details in this post.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| [ANN] PatModules.jl: a better module system for Julia | 70 | 9961 | January 4, 2021 | |
| Newbie questions coming from Python/C++ | 29 | 2193 | July 24, 2020 | |
| Proper way of organizing code into subpackages | 48 | 8365 | August 24, 2022 | |
| Implicitly loaded modules in the future? | 281 | 17015 | May 4, 2022 | |
| Julep: Taking multiple dispatch,export,import,binary compilation seriously | 121 | 9206 | May 18, 2018 |