Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to use a single Walkfile #24

Open
ngirard opened this issue Mar 3, 2019 · 1 comment
Open

Ability to use a single Walkfile #24

ngirard opened this issue Mar 3, 2019 · 1 comment

Comments

@ngirard
Copy link

ngirard commented Mar 3, 2019

walk currently forces the user to split the dependency/build rules in multiple Walkfile files.

Could you consider, as a different or alternative mode of operation, that there is one Walkfile per project ?

If I understood correctly, it would solve #20 as a side effect.

Cheers !

@ejholmes
Copy link
Owner

This is something I've struggled with for a while. On one side, a single Walkfile (like a single Makefile) can be nice for readability, and makes building "generic" targets that work in subdirectories easier (and like you mention, would fix #20).

On the other side, it severely limits one of the main design goals of walk, which is composability; you should be able to enter into any directory, and execute walk. This is one of the major benefits of walk over something like make for really large build systems, since you can decompose components into smaller self contained build phases at still keep a relatively small and simple top-level Walkfile.

I'm definitely not opposed to this, but I just haven't come up with a simple design that still maintains the design goals above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants