Mercurial ignore-file for Eclipse and Android development

后端 未结 5 2046
傲寒
傲寒 2021-01-31 19:21

I have seen samples for Mercurial ignore files for Visual Studio, amongst others.

I\'ve just started playing around with Android development, and I also use this time to

5条回答
  •  一个人的身影
    2021-01-31 19:41

    I have found a good example of .hgignore. It works for me.

    #Mercurial Ignore Rules for Android
    #Save as .hgignore in the repository base directory and add it to source control.
    syntax: glob
    *.class
    *.apk
    *.dex
    *.ap_
    *.suo
    
    syntax: regexp
    ^(.*[\\/])?gen[\\/].*
    ^(.*[\\/])?bin[\\/].*
    ^(.*[\\/])?obj[\\/].*
    ^(.*[\\/])?log[\\/].*
    ^(.*[\\/])?obf[\\/].*
    ^(.*[\\/])?jars[\\/].*
    ^(.*[\\/])?jar-sources[\\/].*
    ^(.*[\\/])?javadoc[\\/].*
    ^(.*[\\/])?\.svn[\\/].*
    ^(.*[\\/])?\.metadata[\\/].*
    ^(.*[\\/])?\.settings[\\/].*
    

    Source: http://androidfragments.blogspot.ru/2011/11/hgignore-for-android.html

提交回复
热议问题