Skip to content
Draft
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
11 changes: 4 additions & 7 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,18 @@ fable := if dev == "true" { "dotnet run --project " + fable_repo / "src/Fable.Cl
default:
@just --list

# Clean Fable build output (preserves dotnet obj/bin directories)
# Clean Fable build output (preserves dotnet obj/bin restore cache for faster incremental builds)
clean:
rm -rf {{build_path}}
rm -rf {{src_path}}/obj {{src_path}}/bin
rm -rf {{test_path}}/obj {{test_path}}/bin
rm -rf examples/*/build examples/*/obj examples/*/bin
rm -rf examples/*/src/obj examples/*/src/bin
rm -rf examples/*/.fable examples/*/src/.fable
rm -rf .fable

# Deep clean - removes everything including dotnet obj/bin directories
# Deep clean - removes everything including dotnet obj/bin directories (forces full NuGet restore)
clean-all: clean
rm -rf {{src_path}}/obj {{test_path}}/obj
rm -rf {{src_path}}/bin {{test_path}}/bin
rm -rf {{src_path}}/obj {{src_path}}/bin
rm -rf {{test_path}}/obj {{test_path}}/bin

# Build F# source to Python using Fable
build: clean
Expand All @@ -44,7 +42,6 @@ run: clean

# Run all tests (native .NET and Python)
test: build
dotnet build {{test_path}}
@echo "Running native .NET tests..."
dotnet run --project {{test_path}}
@echo "Compiling and running Python tests..."
Expand Down