diff options
author | Joshua Harlow <harlowja@gmail.com> | 2014-01-17 23:46:19 -0800 |
---|---|---|
committer | Joshua Harlow <harlowja@gmail.com> | 2014-01-17 23:46:19 -0800 |
commit | 61da02ee4318c5e2718fecf922b53e7bfee6d54c (patch) | |
tree | a8e532a5941bd9d9d323f67f17f35431255868a4 /Makefile | |
parent | cbc5af7396743e014f1ad9ece0bb56820d26f484 (diff) | |
download | vyos-cloud-init-61da02ee4318c5e2718fecf922b53e7bfee6d54c.tar.gz vyos-cloud-init-61da02ee4318c5e2718fecf922b53e7bfee6d54c.zip |
Update makefile to install from updated requirements files
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 15 |
1 files changed, 12 insertions, 3 deletions
@@ -23,7 +23,15 @@ pylint: pyflakes: pyflakes $(PY_FILES) -test: +requirements: + @echo "Installing cloud-init dependencies..." + sudo pip install -r "$@.txt" -q + +test-requirements: + @echo "Installing cloud-init test dependencies..." + sudo pip install -r "$@.txt" -q + +test: requirements test-requirements @nosetests $(noseopts) tests/ check_version: @@ -36,8 +44,8 @@ check_version: 2to3 $(PY_FILES) clean: - rm -rf /var/log/cloud-init.log \ - /var/lib/cloud/ + rm -rf /var/log/cloud-init.log /var/lib/cloud/ + find . -type f -name "*.pyc" -delete yaml: @$(CWD)/tools/validate-yaml.py $(YAML_FILES) @@ -49,4 +57,5 @@ deb: ./packages/bddeb .PHONY: test pylint pyflakes 2to3 clean pep8 rpm deb yaml check_version +.PHONE: test-requirements requirements |