global: add formatter

This commit is contained in:
Agahnim 2026-05-13 14:00:54 +02:00
parent 0eeef39a96
commit 26928d432d
19 changed files with 3925 additions and 288 deletions

View file

@ -1,17 +1,20 @@
{pkgs ? import <nixpkgs> {}}:
pkgs.mkShell {
packages = with pkgs; [
rustc
rust-analyzer
rustfmt
clippy
cargo
cargo-watch
];
{pkgs ? import <nixpkgs> {}}: let
in
pkgs.mkShell {
packages = with pkgs; [
rustc
rust-analyzer
rustfmt
clippy
cargo
cargo-watch
treefmt
prettier
];
shellHook = ''
echo "========================================================="
echo "Pour lancer le projet et avoir les changements en temps réel : "
echo "- cargo watch -w content -w src -w templates -w static -x run"
'';
}
shellHook = ''
echo "========================================================="
echo "Pour lancer le projet et avoir les changements en temps réel : "
echo "- cargo watch -w content -w src -w templates -w static -x run"
'';
}