mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-19 10:26:17 +00:00
9
Makefile
9
Makefile
@@ -5,18 +5,13 @@ develop: setup-git
|
|||||||
setup-git:
|
setup-git:
|
||||||
cd .git/hooks && ln -sf ../../hooks/* ./
|
cd .git/hooks && ln -sf ../../hooks/* ./
|
||||||
|
|
||||||
dist: locale uglify statici18n collectstatic
|
dist: locale statici18n collectstatic
|
||||||
|
|
||||||
locale:
|
locale:
|
||||||
@echo "--> Compile locales"
|
@echo "--> Compile locales"
|
||||||
django-admin.py compilemessages
|
django-admin.py compilemessages
|
||||||
@echo ""
|
@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:
|
statici18n:
|
||||||
@echo "--> Generate JS locale files in static/scripts/i18n"
|
@echo "--> Generate JS locale files in static/scripts/i18n"
|
||||||
python manage.py compilejsi18n
|
python manage.py compilejsi18n
|
||||||
@@ -43,4 +38,4 @@ cleanpyc:
|
|||||||
find . -name \*.pyc -exec rm -f {} \;
|
find . -name \*.pyc -exec rm -f {} \;
|
||||||
@echo ""
|
@echo ""
|
||||||
|
|
||||||
.PHONY: develop setup-git dist locale uglify statici18n collectstatic compressstatic clean
|
.PHONY: develop setup-git dist locale statici18n collectstatic compressstatic clean
|
||||||
|
Reference in New Issue
Block a user