Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cope with changes to repo paths between compile and run time
When installing a module via a Staging repo, at compile time, we will find the resources in the staging repo's path while later after installation we'll find it in the target repo's path. Thus we need to defer creating the path as long as possible. We do this by returning an object that does Callable (which NativeCall will run) but also stringifies to the path for non-NativeCall users and backwards compatibility.
- Loading branch information
Showing
1 changed file
with
32 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters