Open abitrolly opened 10 months ago
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?
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()
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/