mirror of
https://github.com/ansible/awx.git
synced 2026-02-01 09:38:10 -03:30
Adding minified js steps to packaging plus other minor fixes
* Added a new make tarket (minjs) to run the compile script and modified the sdist target to require it * Minor fixes to packaging to chown/chmod the SECRET_KEY file to the proper user and permissions
This commit is contained in:
6
Makefile
6
Makefile
@@ -31,6 +31,7 @@ clean:
|
||||
rm -rf dist/*
|
||||
rm -rf build rpm-build *.egg-info
|
||||
rm -rf debian deb-build
|
||||
rm -f awx/ui/static/js/awx-min.js
|
||||
find . -type f -regex ".*\.py[co]$$" -delete
|
||||
|
||||
# Fetch from origin, rebase local commits on top of origin commits.
|
||||
@@ -128,7 +129,10 @@ release_clean:
|
||||
-(rm *.tar)
|
||||
-(rm -rf ($RELEASE))
|
||||
|
||||
sdist: clean
|
||||
minjs: clean
|
||||
(cd tools/ui/ && ./compile.sh)
|
||||
|
||||
sdist: clean minjs
|
||||
if [ "$(OFFICIAL)" = "yes" ] ; then \
|
||||
$(PYTHON) setup.py release_build; \
|
||||
else \
|
||||
|
||||
Reference in New Issue
Block a user