aboutsummaryrefslogblamecommitdiff
path: root/justfile
blob: 6d70b79e28f4ad1becee96c5f8516b07e13c7f94 (plain) (tree)
1
2
3
4
5
6
7
8
9
10




                                  
    
              
 

                       
      
             
 

                             
    

           

                        

                   
 


                          
                             
 

                                
            
                                       
default:
    @just --list

[group('site')]
[doc('Run the local HTTP server')]
run:
    zola serve

[group('site')]
[doc('Build the site')]
build:
    nix build

[group('nix')]
[doc('Format all the files')]
fmt:
    nix fmt

[group('nix')]
[doc('Check the flake')]
check:
    nix flake check

[group('site')]
[doc('Validate the site')]
validate: build
    lychee ./result/**/*.html

[group('nix')]
[doc('Update the dependencies')]
update-deps:
    nix flake update --commit-lock-file