1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-05-14 10:50:00 +00:00

rm uglify in make dist ()

* rm uglify in make dist

* rm
This commit is contained in:
sniper-py 2019-11-25 11:06:08 +08:00 committed by Daniel Pan
parent cf7042515a
commit 3641de2199

View File

@ -5,18 +5,13 @@ develop: setup-git
setup-git:
cd .git/hooks && ln -sf ../../hooks/* ./
dist: locale uglify statici18n collectstatic
dist: locale statici18n collectstatic
locale:
@echo "--> Compile locales"
django-admin.py compilemessages
@echo ""
uglify:
@echo "--> Uglify JS files to static/scripts/dist"
rm -rf static/scripts/dist 2> /dev/null
r.js -o static/scripts/build.js
statici18n:
@echo "--> Generate JS locale files in static/scripts/i18n"
python manage.py compilejsi18n
@ -43,4 +38,4 @@ cleanpyc:
find . -name \*.pyc -exec rm -f {} \;
@echo ""
.PHONY: develop setup-git dist locale uglify statici18n collectstatic compressstatic clean
.PHONY: develop setup-git dist locale statici18n collectstatic compressstatic clean