mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 19:30:39 -03:30
Add target for ci to minify with tests
This commit is contained in:
parent
8c3ea4f8da
commit
43d6124153
5
Makefile
5
Makefile
@ -248,7 +248,7 @@ ui_analysis_report: node_modules
|
||||
$(GRUNT) plato:report
|
||||
|
||||
# Run UI unit tests
|
||||
test_ui: node_modules
|
||||
test_ui: node_modules minjs_ci
|
||||
$(GRUNT) karma:ci
|
||||
|
||||
# Run API unit tests across multiple Python/Django versions with Tox.
|
||||
@ -281,6 +281,9 @@ devjs: node_modules clean-ui
|
||||
minjs: node_modules clean-ui
|
||||
$(BROCCOLI) build awx/ui/static/dist -- --silent --no-debug --no-tests --compress
|
||||
|
||||
minjs_ci: node_modules clean-ui
|
||||
$(BROCCOLI) build awx/ui/static/dist -- --no-debug --compress
|
||||
|
||||
# Check .js files for errors and lint
|
||||
jshint: node_modules
|
||||
$(GRUNT) $@
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user