summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authormabashian <mabashia@redhat.com>2019-06-28 18:11:07 +0200
committermabashian <mabashia@redhat.com>2019-06-28 18:11:07 +0200
commit5cb8bd34ac405de281f2a2d005649a3b3e29b905 (patch)
treeba7fe75c1f0d54858c7e96bc74d68b276bed3b53 /Makefile
parentUpdate usage instructions since paths have changed (diff)
downloadawx-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--Makefile17
1 files changed, 17 insertions, 0 deletions
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