You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have on SourceCommandLine the byproduct property, which is incorrectly named and also, it stores the path to the generated output file in the build process.
Then ,we store the same data on the args property of the same type, effectively duplicating such data.
Is mandatory then, to use only one of them. And I would like to use a prop named output_file (instead of byproduct) to store such output file path, and then we can have a input file which holds the data of the user declared file.
Such separation will allows us to have better and readable code when building the command line args, a better structured cache and may serve to other internal purposes where the files are easily accessed via a named property.
Also, it will allow us to directly remove data from the cache and object/precompiled module interfaces from the build directory effortlessly when they are changed/moved from their fs location.
The text was updated successfully, but these errors were encountered:
Refactor
We have on
SourceCommandLine
thebyproduct
property, which is incorrectly named and also, it stores the path to the generated output file in the build process.Then ,we store the same data on the
args
property of the same type, effectively duplicating such data.Is mandatory then, to use only one of them. And I would like to use a prop named
output_file
(instead of byproduct) to store such output file path, and then we can have ainput file
which holds the data of the user declared file.Such separation will allows us to have better and readable code when building the command line args, a better structured cache and may serve to other internal purposes where the files are easily accessed via a named property.
Also, it will allow us to directly remove data from the cache and object/precompiled module interfaces from the build directory effortlessly when they are changed/moved from their fs location.
The text was updated successfully, but these errors were encountered: