Version: 2.0 beta
Clean server project for deployment, like Django web server application project
- Remove .py keep .pyc, remove .idea and .git directory
- Adds and removes AngularJS dependency injection annotations by ng-annotate
- Compress js and css file yuicompressor(choose one)
- You need to install youcompressor package by pip
- You can download yuicompressor put yuicompressor.jar in java classpath or with main.py in same diretory
- Output cleaned project files in 'clean_deployment' directory
- deal with current directory, in project root directory:
python cleanServer.py
- deal with specify directory:
python cleanServer.py /your/directory/
Clean hybrid mobile for build, like HTML5 + Angularjs hybrid mobile client application
Notice: only support android project now
- Remove .idea and .git directory
- Transform angular js files in www directory by ngmin to prepare to compress
- Compress js file by yuicompressor(choose one)
- You need to install youcompressor package by pip
- You can download yuicompressor put yuicompressor.jar in java classpath or with main.py in same diretory
- Output cleaned project files in 'clean_mobile' directory
- deal with current directory, in project root directory:
python cleanMobile.py
- deal with specify directory:
python cleanMobile.py /your/directory/
GPL