makefile: added outdated packages helper
This commit is contained in:
parent
3a601adeb8
commit
fb9b7ad345
1 changed files with 6 additions and 2 deletions
8
Makefile
8
Makefile
|
|
@ -1,10 +1,11 @@
|
|||
|
||||
.PHONY: clean docs docs-clean docs-cleanup test test-clean test-only test-only-postgres test-only-mysql web-build generate-pkgs
|
||||
.PHONY: clean docs docs-clean docs-cleanup test test-clean test-only test-only-postgres test-only-mysql web-build generate-pkgs pip-packages
|
||||
|
||||
NODE_PATH=./node_modules
|
||||
WEBPACK=./node_binaries/webpack
|
||||
GRUNT=./node_binaries/grunt
|
||||
|
||||
# set by: PATH_TO_OUTDATED_PACKAGES=/some/path/outdated_packages.py
|
||||
OUTDATED_PACKAGES = ${PATH_TO_OUTDATED_PACKAGES}
|
||||
|
||||
clean:
|
||||
make test-clean
|
||||
|
|
@ -55,6 +56,9 @@ web-build:
|
|||
generate-pkgs:
|
||||
nix-shell pkgs/shell-generate.nix --command "pip2nix generate --licenses"
|
||||
|
||||
pip-packages:
|
||||
python ${OUTDATED_PACKAGES}
|
||||
|
||||
generate-js-pkgs:
|
||||
rm -rf node_modules && \
|
||||
nix-shell pkgs/shell-generate.nix --command "node2nix --input package.json -o pkgs/node-packages.nix -e pkgs/node-env.nix -c pkgs/node-default.nix -d --flatten --nodejs-8" && \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue