From 5cb8bd34ac405de281f2a2d005649a3b3e29b905 Mon Sep 17 00:00:00 2001 From: mabashian Date: Fri, 28 Jun 2019 12:11:07 -0400 Subject: Adds make targets for linting/tests in ui_next. Modifies existing clean-ui target to clean ui_next as well. --- Makefile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/Makefile b/Makefile index a6b3c3cec6..8ad5c8d881 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit v1.2.3