Add an example where the srcs of a ts_project is a directory of generated code#898
Add an example where the srcs of a ts_project is a directory of generated code#898MatrixFrog wants to merge 3 commits intoaspect-build:mainfrom
Conversation
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
|
|
I think adding the error is acceptable. I think the test reproducing it needs to just be dropped though? |
|
Unless there's a way to mark a target as expected to fail or something, yeah. |
|
e2e tests can have a You can try that if you'd like, otherwise maybe I will another time 🤔 |
|
Actually, sorry the |
372aef6 to
d1fa049
Compare
d1fa049 to
d9c9cfb
Compare
|
Moving to #912 |
|
close then? |



I believe this might be a bug, or at least a surprising behavior. If you pass as the
srcsof ats_project, a directory of generated TS code, without specifying the exact filenames of all the TS files inside it, you get a target that essentially does nothing:Instead, it would be great if we got a warning or error at build-time:
Input target ":code_generation" is an opaque directory and will be ignoredor something like that.