From 2493d13d6805e773cd1785d0c66e2615f1209b54 Mon Sep 17 00:00:00 2001 From: Ryan Yin Date: Thu, 11 Jan 2024 22:21:06 +0800 Subject: [PATCH] feat: replace Makefile with Justfile --- Justfile | 10 ++++++++++ Makefile | 15 --------------- 2 files changed, 10 insertions(+), 15 deletions(-) create mode 100644 Justfile delete mode 100644 Makefile diff --git a/Justfile b/Justfile new file mode 100644 index 0000000..ea22c51 --- /dev/null +++ b/Justfile @@ -0,0 +1,10 @@ +# just(Justfile) is a task runner similar to gnumake(Makefile), but simpler + +deploy: + sudo guix system reconfigure ./config.scm + +pull: + echo "Pulling all channel's git repositories..." + echo "Based on the gap between the current commit and the latest commit of guix's official repo, this operation may take a while..." + guix pull --channels=./channels.scm + guix describe --format=channels > ./channels-lock.scm diff --git a/Makefile b/Makefile deleted file mode 100644 index 1496ee5..0000000 --- a/Makefile +++ /dev/null @@ -1,15 +0,0 @@ -# -# NOTE: Makefile's target name should not be the same as one of the file or directory in the current directory, -# otherwise the target will not be executed! -# - - -deploy: - sudo guix system reconfigure ./config.scm - -pull: - echo "Pulling all channel's git repositories..." - echo "Based on the gap between the current commit and the latest commit of guix's official repo, this operation may take a while..." - guix pull --channels=./channels.scm - guix describe --format=channels > ./channels-lock.scm -