mirror of
https://github.com/ansible/awx.git
synced 2026-03-23 03:45:01 -02:30
Adds make targets for linting/tests in ui_next. Modifies existing clean-ui target to clean ui_next as well.
This commit is contained in:
17
Makefile
17
Makefile
@@ -73,6 +73,9 @@ clean-ui:
|
|||||||
rm -rf awx/ui/test/spec/reports/
|
rm -rf awx/ui/test/spec/reports/
|
||||||
rm -rf awx/ui/test/e2e/reports/
|
rm -rf awx/ui/test/e2e/reports/
|
||||||
rm -rf awx/ui/client/languages/
|
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_DEPS_FLAG_FILE)
|
||||||
rm -f $(UI_RELEASE_DEPS_FLAG_FILE)
|
rm -f $(UI_RELEASE_DEPS_FLAG_FILE)
|
||||||
rm -f $(UI_RELEASE_FLAG_FILE)
|
rm -f $(UI_RELEASE_FLAG_FILE)
|
||||||
@@ -515,6 +518,20 @@ jshint: $(UI_DEPS_FLAG_FILE)
|
|||||||
# END UI TASKS
|
# 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.
|
# Build a pip-installable package into dist/ with a timestamped version number.
|
||||||
dev_build:
|
dev_build:
|
||||||
$(PYTHON) setup.py dev_build
|
$(PYTHON) setup.py dev_build
|
||||||
|
|||||||
Reference in New Issue
Block a user