Skip to content

Specific internal input/output file properties #135

Description

@TheRustifyer

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions