diff options
author | mabashian <mabashia@redhat.com> | 2019-06-28 18:11:07 +0200 |
---|---|---|
committer | mabashian <mabashia@redhat.com> | 2019-06-28 18:11:07 +0200 |
commit | 5cb8bd34ac405de281f2a2d005649a3b3e29b905 (patch) | |
tree | ba7fe75c1f0d54858c7e96bc74d68b276bed3b53 /Makefile | |
parent | Update usage instructions since paths have changed (diff) | |
download | awx-5cb8bd34ac405de281f2a2d005649a3b3e29b905.tar.xz awx-5cb8bd34ac405de281f2a2d005649a3b3e29b905.zip |
Adds make targets for linting/tests in ui_next. Modifies existing clean-ui target to clean ui_next as well.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -73,6 +73,9 @@ clean-ui: rm -rf awx/ui/test/spec/reports/ rm -rf awx/ui/test/e2e/reports/ rm -rf awx/ui/client/languages/ + rm -rf awx/ui_next/node_modules/ + rm -rf awx/ui_next/coverage/ + rm -rf awx/ui_next/build/locales/_build/ rm -f $(UI_DEPS_FLAG_FILE) rm -f $(UI_RELEASE_DEPS_FLAG_FILE) rm -f $(UI_RELEASE_FLAG_FILE) @@ -515,6 +518,20 @@ jshint: $(UI_DEPS_FLAG_FILE) # END UI TASKS # -------------------------------------- +# UI NEXT TASKS +# -------------------------------------- + +ui-next-lint: + $(NPM_BIN) --prefix awx/ui_next install + $(NPM_BIN) run --prefix awx/ui_next lint + +ui-next-test: + $(NPM_BIN) --prefix awx/ui_next install + $(NPM_BIN) run --prefix awx/ui_next test + +# END UI NEXT TASKS +# -------------------------------------- + # Build a pip-installable package into dist/ with a timestamped version number. dev_build: $(PYTHON) setup.py dev_build |