From: Tor Norbye Date: Mon, 4 Jun 2012 17:38:13 +0000 (-0700) Subject: Tweak default ignore-assets path X-Git-Url: https://git.saurik.com/android/aapt.git/commitdiff_plain/f77a54f9436c77b4eb193fb853e48129a02fcfc8?ds=sidebyside Tweak default ignore-assets path Add .DS_Store to the list of ignored files that are silently ignored (other dot-files are ignored but aapt emits a "(skipping )" message.) Also, add a "!" prefix to the *~ pattern for Emacs/Vim/Gedit backup files. Finally, move the !*.scc pattern up in front of the .* pattern, such that it doesn't match the earlier .* pattern (which is verbose, unlike !*.scc). Change-Id: Id3e96490f1802486aea8c58366d43e9d413971b8 --- diff --git a/AaptAssets.cpp b/AaptAssets.cpp index 7d735ad..22f495a 100644 --- a/AaptAssets.cpp +++ b/AaptAssets.cpp @@ -58,7 +58,7 @@ static bool validateFileName(const char* fileName) // The default to use if no other ignore pattern is defined. const char * const gDefaultIgnoreAssets = - "!.svn:!.git:.*:_*:!CVS:!thumbs.db:!picasa.ini:!*.scc:*~"; + "!.svn:!.git:!.ds_store:!*.scc:.*:_*:!CVS:!thumbs.db:!picasa.ini:!*~"; // The ignore pattern that can be passed via --ignore-assets in Main.cpp const char * gUserIgnoreAssets = NULL;