mirror of
https://github.com/FuzzingLabs/fuzzforge_ai.git
synced 2026-05-15 12:17:59 +02:00
be009a4094
Rename the entire project from FuzzForge to SecPipe: - Python packages: fuzzforge_cli → secpipe_cli, fuzzforge_common → secpipe_common, fuzzforge_mcp → secpipe_mcp, fuzzforge_tests → secpipe_tests - Directories: fuzzforge-cli → secpipe-cli, fuzzforge-common → secpipe-common, fuzzforge-mcp → secpipe-mcp, fuzzforge-tests → secpipe-tests - Environment variables: FUZZFORGE_* → SECPIPE_* - MCP server name: SecPipe MCP Server - CI workflows, Makefile, Dockerfile, hub-config, NOTICE updated - Fix mcp-server.yml to use uvicorn secpipe_mcp.application:app
52 lines
944 B
Makefile
52 lines
944 B
Makefile
PACKAGE=$(word 1, $(shell uv version))
|
|
VERSION=$(word 2, $(shell uv version))
|
|
|
|
PODMAN?=/usr/bin/podman
|
|
|
|
ARTIFACTS?=./dist
|
|
SOURCES=./src
|
|
TESTS=./tests
|
|
|
|
.PHONY: bandit clean cloc format image mypy pytest ruff version wheel
|
|
|
|
bandit:
|
|
uv run bandit --recursive $(SOURCES)
|
|
|
|
clean:
|
|
@find . -type d \( \
|
|
-name '*.egg-info' \
|
|
-o -name '.mypy_cache' \
|
|
-o -name '.pytest_cache' \
|
|
-o -name '.ruff_cache' \
|
|
-o -name '__pycache__' \
|
|
\) -printf 'removing directory %p\n' -exec rm -rf {} +
|
|
|
|
cloc:
|
|
cloc $(SOURCES) $(TESTS)
|
|
|
|
format:
|
|
uv run ruff format $(SOURCES) $(TESTS)
|
|
|
|
image:
|
|
$(PODMAN) build \
|
|
--build-arg PACKAGE=$(PACKAGE) \
|
|
--file ./Dockerfile \
|
|
--no-cache \
|
|
--tag $(PACKAGE):$(VERSION) \
|
|
--volume $(ARTIFACTS):/wheels
|
|
|
|
mypy:
|
|
uv run mypy $(SOURCES) $(TESTS)
|
|
|
|
pytest:
|
|
uv run pytest -v $(TESTS)
|
|
|
|
ruff:
|
|
uv run ruff check --fix $(SOURCES) $(TESTS)
|
|
|
|
version:
|
|
@echo '$(PACKAGE)@$(VERSION)'
|
|
|
|
wheel:
|
|
uv build --out-dir $(ARTIFACTS)
|