Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# SPDX-License-Identifier: MIT AND Palimpsest-0.8
# SPDX-FileCopyrightText: 2024-2025 The polysafe-gitfixer Contributors
#
# direnv configuration for polysafe-gitfixer
# Automatically loads the Nix development environment
#
# Setup:
# 1. Install direnv: https://direnv.net/docs/installation.html
# 2. Hook into your shell: eval "$(direnv hook bash)" # or zsh/fish
# 3. Allow this directory: direnv allow
#
# The environment will automatically load when you cd into this directory.

use flake

# Optional: Add local bin to PATH
PATH_add bin

# Optional: Watch additional files for changes
watch_file flake.nix
watch_file flake.lock
10 changes: 9 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
.PHONY: all rust haskell idris elixir clean test check fmt
# SPDX-License-Identifier: MIT AND Palimpsest-0.8
# SPDX-FileCopyrightText: 2024-2025 The polysafe-gitfixer Contributors

.PHONY: all rust haskell idris elixir clean test check fmt shell

# Default target: build everything
all: rust haskell idris elixir
Expand Down Expand Up @@ -86,6 +89,10 @@ clean:
watch-rust:
cd crates && cargo watch -x check

# Nix development shell
shell:
nix develop

# Help
help:
@echo "polysafe-gitfixer build system"
Expand All @@ -101,4 +108,5 @@ help:
@echo " check - Type check without building"
@echo " fmt - Format all code"
@echo " clean - Remove build artifacts"
@echo " shell - Enter Nix development shell"
@echo " help - Show this help"
Loading
Loading