forked from importers/git-importer
14 lines
389 B
Makefile
14 lines
389 B
Makefile
all:
|
|
isort *.py lib/*py tests/*py
|
|
autoflake --in-place --remove-unused-variables *.py lib/*py tests/*py
|
|
black *.py lib/*py tests/*py
|
|
|
|
test:
|
|
python3 -m unittest -v tests/*.py
|
|
|
|
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
|