Follow

I'm very impressed about Taskfile project taskfile.dev/ - perhaps the era of complex Makefiles, NPM scripts and Bash shenanigans is coming to an end.

(I know it isn't, but I'd wish nothing more.)

I realized what the Taskfile project is missing... an interactive task picker/runner!

As a lazy shellist, I made this Fish shell function for it. Enjoy.

gist.github.com/nikoheikkila/f

Oh yes, I forgot to mention it requires fzf – the fuzzy finder for command-line. If you live in the terminal but are not yet using it, you're missing out on a great deal of productivity.

github.com/junegunn/fzf

@zen @vazub YAML is easy and universal declarative syntax. If you have problems with whitespace, get your editor configured right. :blobcatthinksmart:

@nikoheikkila yes, but not for novices who usually experiencing a lot of pain with it. But honestly, I can't imagine a universal build system, because on background they are always using a lot of other tools and that makes it harder to understand what is going under the hood.

@vazub

@zen @vazub Yeah, ideally the tasks would need to leverage containerised tools. In the case of Taskfile, the ultimate goal would be to clone the repo and be able to run "task build" or similar to spin up a local application for developing.

@nikoheikkila You might also be interested in Just:

github.com/casey/just

It's a command runner that is inspired by make (and is written in Rust 🦀).

(And you _don't_ have to write yaml :blobcatthinksmart:)

@janriemer For every tool written in Go, there's always another written in Rust trying to top it. I'm sure there is a law for that. 🌚🌝

Sign in to participate in the conversation
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!