Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specific internal input/output file properties #135

Open
TheRustifyer opened this issue Aug 25, 2024 · 0 comments
Open

Specific internal input/output file properties #135

TheRustifyer opened this issue Aug 25, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request refactor

Comments

@TheRustifyer
Copy link
Member

Refactor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request refactor
Projects
None yet
Development

No branches or pull requests

1 participant