ahkpm icon indicating copy to clipboard operation
ahkpm copied to clipboard

Are multiple levels of depth acheivable when using includes?

Open pstaszko opened this issue 1 year ago • 0 comments

Thanks for the fantastic package manager! I am attempting to create packages for my utility functions. I'd like to create a dependency tree that goes down a few levels, but I'm hitting a snag with the include statements. I have created a set of repos to demonstrate what I'd like to do. The top level of them is here: https://github.com/pstaszko/TEMPAHK_TopLevelScript If you clone it, and run ahkpm install, I think what I'm going for should be pretty clear. My problem comes from the fact that %a_scriptdir% is relative to the running script and not the file it's in, so the mid level's include does not work unless I add all dependencies to the top level script. Am I missing something? If not, and this isn't supported, I'd like to suggest adding an option to copy all of the transitive dependencies into the top level project when you install.

pstaszko avatar Aug 10 '24 01:08 pstaszko