File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # SPDX-License-Identifier: MIT AND Palimpsest-0.8
2+ # SPDX-FileCopyrightText: 2024-2025 The polysafe-gitfixer Contributors
3+ #
4+ # direnv configuration for polysafe-gitfixer
5+ # Automatically loads the Nix development environment
6+ #
7+ # Setup:
8+ # 1. Install direnv: https://direnv.net/docs/installation.html
9+ # 2. Hook into your shell: eval "$(direnv hook bash)" # or zsh/fish
10+ # 3. Allow this directory: direnv allow
11+ #
12+ # The environment will automatically load when you cd into this directory.
13+
14+ use flake
15+
16+ # Optional: Add local bin to PATH
17+ PATH_add bin
18+
19+ # Optional: Watch additional files for changes
20+ watch_file flake.nix
21+ watch_file flake.lock
Original file line number Diff line number Diff line change 1- .PHONY : all rust haskell idris elixir clean test check fmt
1+ # SPDX-License-Identifier: MIT AND Palimpsest-0.8
2+ # SPDX-FileCopyrightText: 2024-2025 The polysafe-gitfixer Contributors
3+
4+ .PHONY : all rust haskell idris elixir clean test check fmt shell
25
36# Default target: build everything
47all : rust haskell idris elixir
@@ -86,6 +89,10 @@ clean:
8689watch-rust :
8790 cd crates && cargo watch -x check
8891
92+ # Nix development shell
93+ shell :
94+ nix develop
95+
8996# Help
9097help :
9198 @echo " polysafe-gitfixer build system"
@@ -101,4 +108,5 @@ help:
101108 @echo " check - Type check without building"
102109 @echo " fmt - Format all code"
103110 @echo " clean - Remove build artifacts"
111+ @echo " shell - Enter Nix development shell"
104112 @echo " help - Show this help"
You can’t perform that action at this time.
0 commit comments