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

Makefile replacement #198

Open
abitrolly opened this issue Dec 20, 2023 · 2 comments
Open

Makefile replacement #198

abitrolly opened this issue Dec 20, 2023 · 2 comments

Comments

@abitrolly
Copy link

Is it possible to add some primitives to https://github.com/bitfield/script for primitive Makefile replacement?

I have no idea how it would look like in Go syntax. Maybe borrow things from SCons? https://scons-cookbook.readthedocs.io/en/latest/

@bitfield
Copy link
Owner

Nice suggestion, @abitrolly, thanks! Maybe you could come up with a few examples of the sort of script program you'd like to write to replace a Makefile?

@abitrolly
Copy link
Author

Well, there is a master issue here https://gitlab.com/gitlab-org/gitlab-development-kit/-/issues/166 which is a general rant about Makefile shenanigans.

Maybe something like this would be good for dependency tracking.

docs = target('./gitlab-docs).Clone('https://gitlab.com/gitlab-org/gitlab-docs')

main = target.Add(docs)

main.Build()

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