This blog is to just record the new tool experience. I have used Make a lot when working with building docker images or working with helm and even while building a simple go CLI’s. Make did the job but i was searching for something that can define step for builds more expressively and importantly i would like to execute the commands anywhere from root directory without going deep in to the directory. Search for that lead me to taskfile.

Best part of the tool is the documentation, with in a 30 min to an hour you can be very productive in using the tool. Examples shown in the usage page are really great. Feature that i love in taskfile.

  1. Global taskfile that can triggered from root directory. 1.reference env file to us in the task
  2. Defining the task in YAML
  3. fingerprinting locally generated files and their sources - avoid muliplte same builds
  4. using GO template engine with in tasks
  5. Dry-Run.
  6. You can check for condition and decide to execte a task or not.
  7. You can define if you would like to have a task run once or alway.