Skip to content

Instantly share code, notes, and snippets.

@vfarcic
Created May 22, 2024 12:44
Show Gist options
  • Save vfarcic/a0b8b6024f20c15eb3e1ccc88ed1a2e9 to your computer and use it in GitHub Desktop.
Save vfarcic/a0b8b6024f20c15eb3e1ccc88ed1a2e9 to your computer and use it in GitHub Desktop.

######################################################################

From Makefile to Justfile (or Taskfile): Recipe Runner Replacement

######################################################################

Additional Info:

- Say Goodbye to Makefile - Use Taskfile to Manage Tasks in CI/CD Pipelines and Locally: https://youtu.be/Z7EnwBaJzCk

#########

Intro

#########

just cluster-create

just test-watch

just cluster-destroy

#########

Setup

#########

git clone https://github.com/vfarcic/crossplane-kubernetes

cd crossplane-kubernetes

git pull

git checkout just

Make sure that Docker is up-and-running. We'll use it to create a Kind cluster.

Watch https://youtu.be/WiFLtcBvGMU if you are not familiar with Devbox. Alternatively, you can skip Devbox and install all the tools listed in devbox.json yourself.

devbox shell

########################################

just Define Justfile and just Run It

########################################

just cluster-create

just test-watch

Press ctrl+c to stop the watcher.

just cluster-destroy

just

just --show cluster-create

cat Justfile

###########

Destroy

###########

exit

git checkout main

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment