Install horizon with upper-constraints.txt in post-install

Change-Id: I916bea48012b14b95e716a0a6a3dfa073a7eb680
This commit is contained in:
Shu Muto 2018-10-02 09:12:33 +09:00
parent 563b1b0482
commit 709ed27413

View File

@ -24,7 +24,7 @@
},
"dependencies": {},
"scripts": {
"postinstall": "if [ ! -d .tox ] || [ ! -d .tox/karma ]; then tox -ekarma --notest; python3 -m pip install -U -t ./.tox/karma/lib/`python3 -V|tr -d ' '|tr 'P' 'p'|cut -c -9`/site-packages/ ../horizon; fi",
"postinstall": "if [ ! -d .tox ] || [ ! -d .tox/karma ]; then tox -ekarma --notest; python3 -m pip install -U -t ./.tox/karma/lib/`python3 -V|tr -d ' '|tr 'P' 'p'|cut -c -9`/site-packages/ -chttps://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt ../horizon; fi",
"lint": "eslint --no-color zaqar_ui/static",
"lintq": "eslint --quiet zaqar_ui/static",
"test": "karma start zaqar_ui/karma.conf.js --single-run"