diff --git a/del_pyc.sh b/del_pyc.sh deleted file mode 100755 index c981ff08e..000000000 --- a/del_pyc.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -rm -rf ./*.pyc -rm -rf ./*/*.pyc - -#open "http://127.0.0.1:7200" \ No newline at end of file diff --git a/scripts/pick.sh b/scripts/pick.sh index 7807bb1ea..5de99904e 100755 --- a/scripts/pick.sh +++ b/scripts/pick.sh @@ -9,12 +9,16 @@ rootPath=$(dirname "$curPath") echo $rootPath cd $rootPath +rm -rf ./*.pyc +rm -rf ./*/*.pyc startTime=`date +%s` -zip -r -q -o mdserver-web.zip ./ +zip -r -q -o mdserver-web.zip ./ -x@$curPath/pick_filter.txt -mv mdserver-web.zip $rootPath/scripts + + +mv mdserver-web.zip $rootPath/scripts endTime=`date +%s` ((outTime=($endTime-$startTime))) diff --git a/scripts/pick_filter.txt b/scripts/pick_filter.txt new file mode 100755 index 000000000..71afa0336 --- /dev/null +++ b/scripts/pick_filter.txt @@ -0,0 +1,116 @@ +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] +*$py.class + +# C extensions +*.so + +# Distribution / packaging +.Python +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +.eggs/ +lib64/ +parts/ +sdist/ +var/ +wheels/ +*.egg-info/ +.installed.cfg +*.egg +MANIFEST + +# PyInstaller +# Usually these files are written by a python script from a template +# before PyInstaller builds the exe, so as to inject date/other infos into it. +*.manifest +*.spec + +# Installer logs +pip-log.txt +pip-delete-this-directory.txt + +# Unit test / coverage reports +htmlcov/ +.tox/ +.coverage +.coverage.* +.cache +nosetests.xml +coverage.xml +*.cover +.hypothesis/ +.pytest_cache/ + +# Translations +*.mo +*.pot + +# Django stuff: +*.log +local_settings.py +db.sqlite3 + +# Flask stuff: +instance/ +.webassets-cache + +# Scrapy stuff: +.scrapy + +# Sphinx documentation +docs/_build/ + +# PyBuilder +target/ + +# Jupyter Notebook +.ipynb_checkpoints + +# pyenv +.python-version + +# celery beat schedule file +celerybeat-schedule + +# SageMath parsed files +*.sage.py + +# Environments +.env +.venv +env/ +venv/ +ENV/ +env.bak/ +venv.bak/ + +# Spyder project settings +.spyderproject +.spyproject + +# Rope project settings +.ropeproject + +# mkdocs documentation +/site + +# mypy +scripts/.git/* +.git/* +.mypy_cache/ +.gitignore +.git +.DS_Store +.idea/*.xml +tmp/*.pl +tmp/*.log +data/json/index.json +data/control.conf +data/default.db +data/default.bak.db +data/system.db diff --git a/version/info.json b/version/info.json index 619599423..2c7bb7178 100644 --- a/version/info.json +++ b/version/info.json @@ -2,6 +2,6 @@ { "version": "0.0.1.2", "content": "12312312", - "path": "https://github.com/midoks/mdserver-web/archive/0.0.1.zip" + "path": "https://github.com/midoks/mdserver-web/releases/download/0.0.1/mdserver-web.zip" } ] \ No newline at end of file