gulachek / esmakefile

Make based build system in JavaScript
MIT License
0 stars 0 forks source link

Options to build specific target #18

Closed gulachek closed 1 year ago

gulachek commented 1 year ago

It would be useful to allow targets to have names. This would intuitively be referenced by paths.

I think it would be useful to be able to tell the build system specifically which target should be built. This might include adding commander as a dependency here and globbing for targets from paths if this is something worth pursuing.

Something to think about is if all targets should be referenced or if only non-gen() paths should be allowed

gulachek commented 1 year ago

It's possible that the user should just make a better build file to reference the targets the user cares about. Think about this.

gulachek commented 1 year ago

Can revisit later if this becomes a common pattern. User currently has tools to add an option to the commander commands and filter appropriately. Closing