From a8f613ead11c3b4be097481a24e6fbbe79a18c4d Mon Sep 17 00:00:00 2001 From: Ryan Yin Date: Thu, 1 Aug 2024 10:11:56 +0800 Subject: [PATCH] docs: justfile --- Justfile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Justfile b/Justfile index 65498876..d954ecd9 100644 --- a/Justfile +++ b/Justfile @@ -1,6 +1,9 @@ # just is a command runner, Justfile is very similar to Makefile, but simpler. -# use nushell for shell commands +# Use nushell for shell commands +# To usage this justfile, you need to enter a shell with just & nushell installed: +# +# nix shell nixpkgs#just nixpkgs#nushell set shell := ["nu", "-c"] utils_nu := absolute_path("utils.nu") @@ -16,7 +19,7 @@ utils_nu := absolute_path("utils.nu") test: nix eval .#evalTests --show-trace --print-build-logs --verbose -# update all the flake inputs +# Update all the flake inputs [group('nix')] up: nix flake update @@ -52,13 +55,13 @@ gc: [linux] [group('nix')] shell: - nix shell nixpkgs#git nixpkgs#neovim nixpkgs#just nixpkgs#nushell nixpkgs#colmena + nix shell nixpkgs#git nixpkgs#neovim nixpkgs#colmena # Enter a shell session which has all the necessary tools for this flake [macos] [group('nix')] shell: - nix shell nixpkgs#git nixpkgs#neovim nixpkgs#just nixpkgs#nushell + nix shell nixpkgs#git nixpkgs#neovim [group('nix')] fmt: