1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-23 18:02:15 -05:00
k-9/tools/build-beta
Jesse Vincent f31b2702a4 Massive rename to K9, step 1.
Conflicts:

	src/com/android/email/Email.java
2009-12-15 02:50:53 +00:00

10 lines
629 B
Plaintext
Executable File

perl -pi -e's|\@string/app_name|\@string/beta_app_name|g' AndroidManifest.xml
perl -pi -e's/com\.fsck\.k9/com.fsck.k9beta/g' build.xml AndroidManifest.xml src/com.fsck.k9/provider/AttachmentProvider.java
perl -pi -e's|com/fsck/k9/R.java|com/fsck/k9beta/R.java|g' build.xml
perl -pi -e's|K9|K9-BETA|g' build.xml
ant $@
perl -pi -e's|K9-BETA|K9|g' build.xml
perl -pi -e's/com\.fsck\.k9beta/com.fsck.k9/g' build.xml AndroidManifest.xml src/com.fsck.k9/provider/AttachmentProvider.java
perl -pi -e's|com/fsck/k9beta/R.java|com/fsck/k9/R.java|g' build.xml
perl -pi -e's|\@string/beta_app_name|\@string/app_name|g' AndroidManifest.xml