___, _
/ | | |
| | _|_ | | _ _ _ __,
| | | |/ \ |/ / |/ | / |
\__/\_/|_/| |_/|__/ | |_/\_/|_/ optimzing with :heart:
Athena is the goddess of wisdom, courage, inspiration, civilization, law and justice, just warfare, mathematics, strength, strategy, the arts, crafts, and skill.
she compiles a folder /views
into optimized views /views_cdn
becouse bandwith and peformance matters
/_old
old stuff
/anthena
- /bin
where executable is on
- /_old
old stuff
- /jpeg8dexe
http://sylvana.net/jpeg-bin/
- /muncher
https://github.com/ccampbell/html-muncher
- googlecc.jar
code.google.com/closure/
- optipng-0.6.5.exe
http://optipng.sourceforge.net/
- /lib
- /core
core library
- /vendors_1
example, if use vendors
- /vendors_2
example, if use vendors
python scripts
- /_old old stuff
- /wiki docs
/build.py
- Instal python via Cygwin http://cygwin.com/install.html (recommanded) or Python via http://www.python.org/download/
- Via command promt Cygwin with Python + Java run
./build.py
in/engine/scripts/anthena
- Magic happens here
- Check in
views_cdn/*/index.html
for the result(check index.html same in views)
- Refactoring(clean and tidy)
- Optimize(y n optimize?)
- HACK!(add some more feature)
add in .git/config
[alias]
addremove = !git add . && git ls-files --deleted | xargs --no-run-if-empty git rm
it will be
git addremove (replace git add and remove)
git commit -m "something"
git push
and
git config --global core.excludesfile ~/.gitignore
so the compiled files in views_cdn will not be included
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.