Files
Riccardo Schirone 4f41f4de11 Remove just tool completely and migrate all functionality to Makefiles (#210)
* Remove just tool completely and migrate all functionality to Makefiles

- Added install-cscope, lint-python, and lint-python-all targets to main Makefile
- Created program-model/Makefile with all justfile functionality
- Removed justfiles from both main and program-model directories
- Updated all documentation to use make commands instead of just
- Removed just installation and checking functions from setup scripts
- All functionality preserved with equivalent make targets

Co-authored-by: Riccardo Schirone <ret2libc@users.noreply.github.com>

* Remove duplicate lint-python targets from Makefile

These targets duplicated existing lint and lint-component targets.
Updated CLAUDE.md to reference the correct make targets.

Co-authored-by: Riccardo Schirone <ret2libc@users.noreply.github.com>

* Fix remaining references to removed lint-python targets in documentation

Co-authored-by: Riccardo Schirone <ret2libc@users.noreply.github.com>

* Fix Makefile: Add missing targets to .PHONY declaration

Added lint, lint-component, clean-local, wait-crs, check-crs,
crs-instance-id, status, and send-integration-task to .PHONY
to ensure they work correctly even if files with those names exist.

Co-authored-by: Riccardo Schirone <ret2libc@users.noreply.github.com>

* ci: remove just references

---------

Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: Riccardo Schirone <ret2libc@users.noreply.github.com>
Co-authored-by: Michael D Brown <michael.brown@trailofbits.com>
2025-07-31 09:41:02 -04:00

37 lines
874 B
Makefile

# Makefile for program-model component
.PHONY: help all sync reformat lint test
# Default target
help:
@echo "program-model component - Available Commands:"
@echo ""
@echo " all - Run sync, reformat, lint, and test"
@echo " sync - Install dependencies with uv"
@echo " reformat - Format code with ruff"
@echo " lint - Check code formatting, linting, and types"
@echo " test - Run pytest with integration tests"
all: sync reformat lint test
sync:
uv sync --all-extras
reformat:
uv run ruff format
uv run ruff check --fix
lint:
uv run ruff format --check
uv run ruff check
uv run mypy
test:
# To debug
# uv run pytest -svv --log-cli-level=DEBUG --runintegration
# To save unit test results
# PYTEST_DEBUG_TEMPROOT="/crs_scratch/" uv run pytest -svv --runintegration
# To run tests
uv run pytest -svv --runintegration