# HG changeset patch # User Marcin Kuzminski # Date 2020-03-24 16:13:39 # Node ID 55e4a7263e592d6b711e3f404d288010b195d5c3 # Parent 36657fcbefd27e2855950e6f56a0b8a1334e5cc1 makefile: added outdated packages helper diff --git a/Makefile b/Makefile --- a/Makefile +++ b/Makefile @@ -1,6 +1,8 @@ -.PHONY: clean test test-clean test-only generate-pkgs +.PHONY: clean test test-clean test-only generate-pkgs pip-packages +# set by: PATH_TO_OUTDATED_PACKAGES=/some/path/outdated_packages.py +OUTDATED_PACKAGES = ${PATH_TO_OUTDATED_PACKAGES} clean: make test-clean @@ -21,3 +23,6 @@ test-only: generate-pkgs: nix-shell pkgs/shell-generate.nix --command "pip2nix generate --licenses" + +pip-packages: + python ${OUTDATED_PACKAGES}