Hacker News new | ask | show | jobs
by hgs3 442 days ago
Why not use a function to add dependencies, e.g. `add_dependency "dependency@version"` or `add_dependencies { ...table-here... }`. This is, more or less, how premake works [1]. For `lx add ...` you'd append the function call to the script.

[1] https://premake.github.io/docs/Your-First-Script

1 comments

That doesn't seem very ergonomic - especially for the use cases we have in mind.