git-importer/Makefile

14 lines
389 B
Makefile
Raw Permalink Normal View History

all:
isort *.py lib/*py tests/*py
autoflake --in-place --remove-unused-variables *.py lib/*py tests/*py
black *.py lib/*py tests/*py
2022-10-17 20:52:05 +02:00
test:
python3 -m unittest -v tests/*.py
2022-11-07 07:28:22 +01:00
update-packages:
f=$$(mktemp) ;\
osc api /source/openSUSE:Factory?view=info | grep -v lsrcmd5 | grep srcmd5= | sed -e 's,.*package=",,; s,".*,,' | grep -v : > $$f ;\
echo _project >> $$f ;\
mv $$f packages