rhythmic-morning-87313
07/03/2023, 5:18 AMgit subtree add --prefix vendor/mylib <repo> main --squashed
I'm a little confused about how to let my codes in src
to refer them as dependencies directly, because until building & packaging those copied source directories, they are not directly importable. Depending on `mylib`'s directory structure, it may or may not be possible to do so.rhythmic-morning-87313
07/03/2023, 5:22 AMgit subtree split
to only include the actual source directory of the target library. (Problem: I'd like to keep the entire target repo structure to ensure existence of LICENSE. Also I need to replicate their build scripts in BUILD
files)rhythmic-morning-87313
07/03/2023, 5:23 AMbroad-processor-92400
07/03/2023, 6:16 AMroot_patterns = [..., "/vendor/mylib/any/dir/here"]
allow import mylib
to pick up vendor/mylib/any/dir/here/mylib
?rhythmic-morning-87313
07/03/2023, 2:12 PM