android:freeline
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| android:freeline [2016/12/07 12:58] – percy | android:freeline [2016/12/07 13:15] (current) – percy | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Android Freeline ====== | ====== Android Freeline ====== | ||
| - | Freeline | + | Freeline |
| It's super fast because of the increment build only for the changed class. | It's super fast because of the increment build only for the changed class. | ||
| Line 9: | Line 9: | ||
| ===== How to Integrate ===== | ===== How to Integrate ===== | ||
| - | 1. Add to the build.gradle in the root director | + | 1. Add to the build.gradle in the root directory |
| <code JAVA> | <code JAVA> | ||
| | | ||
| Line 50: | Line 50: | ||
| python freeline.py | python freeline.py | ||
| python freeline.py -d //with debug information logs | python freeline.py -d //with debug information logs | ||
| - | | + | |
| + | ==== Force Clean Build ==== | ||
| Also try the force clean build if it doesn' | Also try the force clean build if it doesn' | ||
| python freeline.py -f//If you need the force clean build. | python freeline.py -f//If you need the force clean build. | ||
| Line 60: | Line 61: | ||
| - You can add alias to your .bashrc or .zshrc if you like | - You can add alias to your .bashrc or .zshrc if you like | ||
| * alias freeline=' | * alias freeline=' | ||
| + | - If you don't want to commit the changes, you can use the patch command to do it | ||
| + | * Create the patch: git diff > freeline.patch | ||
| + | * Apply the patch: patch -p1 < freeline.patch | ||
| + | * Revert the patch: patch -p1 -R < | ||
| + | * Or use git stash and git stash pop to reset or apply the patch temporary | ||
| + | |||
/var/www/dokuwiki/wiki/data/attic/android/freeline.1481086682.txt.gz · Last modified: 2016/12/07 12:58 by percy
