#How to include a utility type in multiple projects
9 messages · Page 1 of 1 (latest)
IMO, the correct way to do this is to define that type in a package that is depended on by the other packages
due to our project structure that's unfortunately not possible.
i need to "mirror" the type myself and include it in the packages
ick... with that requirement, I guess I'd probably have a source file that is copied to each package with a prebuild step
yeah, that's what i went with right now, as well
Or potentially some postinstall setup that creates a symlink to the original file
Not sure how nicely that'd play on windows though
sounds like a potential problem, true. the copy is safer in that sense. not ideal, but i guess it is what it is.
thanks for taking the time 🙂
👍 can always use rsync/robocopy so that it's skipped if the file is up to date at least