mirror of
https://github.com/haiwen/seahub.git
synced 2025-05-14 10:50:00 +00:00
parent
cf7042515a
commit
3641de2199
9
Makefile
9
Makefile
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user