Skip to content

Show HN: "mk" – one-liner make rules on the command-line

1 pointalecthomasdiscuss
On HN

https://github.com/alecthomas/mk

Very handy in conjunction with Just to give you make-like functionality, eg.

  build-protos:
    @mk protos/myproto.pb.go protos/myproto.tsx : protos/myproto.proto -- protoc --gen_go=protos --gen_tsx=protos protos/myproto.proto

PS. My one and only Rust project, so expect some odd code.

Comments

No comments yet.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.