Results 1 to 2 of 2

Thread: ignore in app.json does not ignore files

  1. #1
    Sencha User
    Join Date
    Feb 2011
    Location
    Dsseldorf, Germany
    Posts
    594
    Answers
    35
    Vote Rating
    33
      0  

    Default ignore in app.json does not ignore files

    Hi,
    I am trying to ignore files and folder, but it seems not to work.
    I am running the command:
    sencha app build package

    App.js
    Code:
    "extras": [
            "resources/fonts",
            "resources/images",
            "resources/css"
        ],
    
    "ignore": [
            "104_imge\@2x\.png", //file example
            "resources/images/hdmi$" /folder example
        ],
    the file name is:
    resources/images/104_imge@2x.png

    The folder exists twice, but only one should be excluded. The other is in a subfolder of images.
    If I add hdmi$ both folder are ignored.

    Any idea how to ignore single files by name and how to ignore folders at a certain position?

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Answers
    3931
    Vote Rating
    1272
      0  

    Default

    Code:
        "ignore": [
            "\.svn$",
            "resources/images/ignore"
        ],
    I created a new dir in resources/images/ and the above ignored that ignore dir for me
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •