I use mk for all my personal projects. It is such a useful place to store maintenance operations on files exactly where they are needed. Not just build-type operations, but also syncing with remote stuff and other maintenance things.
My webside is managed by a big mkfile which builds html from markdown using pandoc and deploys over ssh. There is even a target in there for checking for dead links using curl.
Just say if something needs explaining. There are some references to other fines in there, like the deployment index (its just list of files to deploy) and the comment blob (it is just a notice that people can comment by e-mail.
Mostly just the simpler syntax. I always found makefiles a bit off-putting. On the other hand, the syntax for mkfiles, especially with rc as the mk shell, feels slick and homely.
16 comments
[ 3.2 ms ] story [ 80.3 ms ] threadMy webside is managed by a big mkfile which builds html from markdown using pandoc and deploys over ssh. There is even a target in there for checking for dead links using curl.
I just counted: 778 mkfiles in my personal files.
Just say if something needs explaining. There are some references to other fines in there, like the deployment index (its just list of files to deploy) and the comment blob (it is just a notice that people can comment by e-mail.
I presume “homely” is this context means UK “familiar and pleasant, as in a home”, and not US “not attractive or good-looking”.