Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Discussion options

You must be logged in to vote

Hey there! The .../ import method is one I've seen used with broad success in projects small and large (and very, very large). That said, there are a few other ways to go about this:

Projects

One approach might be to break your configurations up into different projects and have them depend on each other as local dependencies. With this method, only the PklProject in each project needs to know the relative path on disk of its dependencies and modules need to know the relative path to their imports within each project.

In this this approach you might have a directory structure like this:

.
β”œβ”€β”€ data
β”‚   β”œβ”€β”€ actions
β”‚   β”‚   └── zdebug
β”‚   β”œβ”€β”€ damageTypes
β”‚   β”œβ”€β”€ runes
β”‚   β”‚   β”œβ”€β”€ 1x1
β”‚   β”‚   …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@SublunarSage
Comment options

Answer selected by SublunarSage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants