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:
James Cammarata
2013-07-16 12:19:18 -05:00
parent 7d04e1ed00
commit f70dcf8dbb
3 changed files with 7 additions and 388 deletions

View File

@@ -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 \