1 Star 0 Fork 18

破难开发者 / seahub

forked from lins05 / seahub 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Makefile 979 Bytes
一键复制 编辑 原始数据 按行查看 历史
sniper-py 提交于 2019-11-25 11:06 . rm uglify in make dist (#4290)
PROJECT=seahub
develop: setup-git
setup-git:
cd .git/hooks && ln -sf ../../hooks/* ./
dist: locale statici18n collectstatic
locale:
@echo "--> Compile locales"
django-admin.py compilemessages
@echo ""
statici18n:
@echo "--> Generate JS locale files in static/scripts/i18n"
python manage.py compilejsi18n
collectstatic:
@echo "--> Collect django static files to media/assets"
rm -rf media/assets 2> /dev/null
python manage.py collectstatic --noinput -i admin -i termsandconditions
compressstatic:
@echo "--> Compress static files(css) to media/CACHE"
rm -rf media/CACHE 2> /dev/null
python manage.py compress
clean:
@echo '--> Cleaning media/static cache & dist'
rm -rf media/CACHE 2> /dev/null
rm -rf media/assets 2> /dev/null
rm -rf static/scripts/dist 2> /dev/null
@echo ""
cleanpyc:
@echo '--> Cleaning .pyc files'
find . -name \*.pyc -exec rm -f {} \;
@echo ""
.PHONY: develop setup-git dist locale statici18n collectstatic compressstatic clean
Python
1
https://gitee.com/971319231/seahub.git
git@gitee.com:971319231/seahub.git
971319231
seahub
seahub
master

搜索帮助