diff --git a/Dockerfile.test b/Dockerfile.test index 95b9cb2..5f8fd71 100644 --- a/Dockerfile.test +++ b/Dockerfile.test @@ -4,6 +4,7 @@ WORKDIR /workspace RUN apt-get update \ && apt-get install -y --no-install-recommends \ + build-essential \ ca-certificates \ curl \ gzip \ @@ -18,7 +19,7 @@ RUN python -m pip install -q uv COPY . /workspace -RUN uv tool install . +RUN make install ENV PATH="/root/.local/bin:${PATH}" ENV HATE_CRACK_SKIP_INIT=1 diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..8ab15e3 --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ +.PHONY: all install clean hashcat-utils + +all: hashcat-utils + +hashcat-utils: + $(MAKE) -C hashcat-utils + +install: hashcat-utils + uv tool install . + +clean: + -$(MAKE) -C hashcat-utils clean + rm -rf .pytest_cache .ruff_cache build dist *.egg-info + find . -name "__pycache__" -type d -prune -exec rm -rf {} +