Skip to content

Commit a8f613e

Browse files
committed
docs: justfile
1 parent 5d69019 commit a8f613e

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

Justfile

+7-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# just is a command runner, Justfile is very similar to Makefile, but simpler.
22

3-
# use nushell for shell commands
3+
# Use nushell for shell commands
4+
# To usage this justfile, you need to enter a shell with just & nushell installed:
5+
#
6+
# nix shell nixpkgs#just nixpkgs#nushell
47
set shell := ["nu", "-c"]
58

69
utils_nu := absolute_path("utils.nu")
@@ -16,7 +19,7 @@ utils_nu := absolute_path("utils.nu")
1619
test:
1720
nix eval .#evalTests --show-trace --print-build-logs --verbose
1821

19-
# update all the flake inputs
22+
# Update all the flake inputs
2023
[group('nix')]
2124
up:
2225
nix flake update
@@ -52,13 +55,13 @@ gc:
5255
[linux]
5356
[group('nix')]
5457
shell:
55-
nix shell nixpkgs#git nixpkgs#neovim nixpkgs#just nixpkgs#nushell nixpkgs#colmena
58+
nix shell nixpkgs#git nixpkgs#neovim nixpkgs#colmena
5659

5760
# Enter a shell session which has all the necessary tools for this flake
5861
[macos]
5962
[group('nix')]
6063
shell:
61-
nix shell nixpkgs#git nixpkgs#neovim nixpkgs#just nixpkgs#nushell
64+
nix shell nixpkgs#git nixpkgs#neovim
6265

6366
[group('nix')]
6467
fmt:

0 commit comments

Comments
 (0)