Results 1 to 10 of 10

Thread: What can be in gitignore?

  1. #1
    Sencha Premium Member
    Join Date
    Feb 2012
    Location
    Hillsborough, NC
    Posts
    447
    Vote Rating
    135
      0  

    Default What can be in gitignore?

    I'm trying to get this set up for the new Cmd 3.1 and and am not sure what can be ignored.

    Currently I'm ignoring in a workspace:

    .architect
    build/MyApp/testing/.sass-cache
    build/MyApp/production/.sass-cache

    Is there anything else I should ignore?

    Worth

  2. #2
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,061
    Vote Rating
    1388
      0  

    Default

    There is another .sass-cache in the packages/build/ dir I believe.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

  3. #3
    Sencha Premium Member
    Join Date
    Feb 2012
    Location
    Hillsborough, NC
    Posts
    447
    Vote Rating
    135
      0  

    Default

    Is there a place in the documentations which defines what all the different files are?

    Could someone who understands the structure help put together a .gitignore file for the workspace to keep unnecessary conflicts and unneeded files from entering the repository.

    Thanks,
    Worth

  4. #4
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,061
    Vote Rating
    1388
      0  

    Default

    This isn't documented. I usually just go off of what files/dirs pop up after doing some builds. I know no help, just the way I have done it.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

  5. #5
    Ext JS Premium Member
    Join Date
    Jan 2012
    Location
    Montreal
    Posts
    50
    Vote Rating
    2
      0  

    Default

    Is there a gitignore file for Sencha Touch and ExtJS? Since CMD 4, a bunch of new files have showed up in our projects and we would like to know what to exclude from source control. Things like /.sencha/app/microloader and /sass/example

  6. #6
    Sencha Premium Member
    Join Date
    Feb 2012
    Location
    Hillsborough, NC
    Posts
    447
    Vote Rating
    135
      0  

    Default

    I also would like to know what others have in their "gitignore" file.

    Worth

  7. #7
    Sencha User
    Join Date
    Oct 2012
    Posts
    18
    Vote Rating
    2
      1  

    Default

    This is what I use when I develop ST 2.2 apps with Architect 2... I'll update once we upgrade to 2.3 and Architect 3...
    PHP Code:
    *.DS_Store
    app
    build
    app
    .html
    app
    .js
    touch
    /resources/sass/.sass-cache 
    Feel free to modify this if you find you need something else

  8. #8
    Sencha User
    Join Date
    Oct 2012
    Posts
    18
    Vote Rating
    2
      1  

    Default

    This is what I use for SA 3 when developing ST2.3 apps

    PHP Code:
    *.DS_Store
    app
    theme
    build
    app
    .js 

  9. #9
    Sencha User
    Join Date
    Apr 2015
    Posts
    2
    Vote Rating
    0
      0  

    Default

    Sorry for posting in this old topic, but the better solution is using the .gitignore provided by the github/gitignore repository: https://github.com/github/gitignore/...xtJs.gitignore


    Code:
    .architect
    bootstrap.css
    bootstrap.js
    bootstrap.json
    bootstrap.jsonp
    build/
    classic.json
    classic.jsonp
    ext/
    modern.json
    modern.jsonp
    resources/sass/.sass-cache/

  10. #10
    Sencha User
    Join Date
    Sep 2014
    Location
    Central Europe
    Posts
    795
    Vote Rating
    52
      0  

    Default

    If you are using SA you can also add (depends on SA version):

    Code:
    resources/.arch-internal-preview.css
    .arch-internal-preview.css
    Usually you can add any files which are changed after just running sencha app watch without changing anything in the app source code.

Posting Permissions

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