Closed mmjconolly closed 4 years ago
installIn is defined as
installIn
export def installIn dir file = installAs "{dir}/{file.getPathName}" file
When used with Wit, the getPathName would include only the repository name, for example:
getPathName
installIn "builddir" pathToSomeFile -> builddir/cmsis-svd-generator/somefile.sh
When the wake rule is used via git submodules a longer path is inserted, for example
installIn "builddir" pathToSomeFile -> builddir/freedom-e-sdk/software/cmsis-svd-generator/somefile.sh
This PR aims to resolve the inconsistency by using here/.. to capture the repository name directly, thus preserving the paths in builddir
here/..
builddir
installIn
is defined asWhen used with Wit, the
getPathName
would include only the repository name, for example:When the wake rule is used via git submodules a longer path is inserted, for example
This PR aims to resolve the inconsistency by using
here/..
to capture the repository name directly, thus preserving the paths inbuilddir