Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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



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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: