svengeance / Husky

Modernizing the way developers think about installers
3 stars 0 forks source link

[Feature] Allows Variables to Reference Other Variables #25

Closed svengeance closed 3 years ago

svengeance commented 3 years ago

Context

At this time, Variables aren't all that great because they don't don't recursively resolve themselves. For instance, the global variable InstallDir={Folders.ProgramFiles}/MyApp followed by Task variable TargetDirectory={InstallDir} can't presently work. Although we would appropriately resolve the variable InstallDir, we would not resolve the referenced variable {Folders.ProgramFiles}.

Proposals

Allow variables to recursively expand themselves while new variables are found.

Interested Users

Developers