Titanium JIRA Archive
Alloy (ALOY)

[ALOY-245] Add .gitignore to Alloy projects

GitHub Issuen/a
TypeStory
PriorityLow
StatusClosed
ResolutionFixed
Resolution Date2014-05-16T15:03:53.000+0000
Affected Version/sAlloy 1.4.0
Fix Version/sAlloy 1.4.0, 2014 Sprint 08
ComponentsSamples & Templates, Titanium Studio
Labelsqe-testadded
ReporterTony Lukasavage
AssigneeTim Poulsen
Created2012-09-11T08:36:38.000+0000
Updated2014-07-18T15:47:21.000+0000

Description

We should create a default .gitignore, or update the existing one, for alloy projects. It should include: * .DS_Store * build.log * Resources This issue is dependent on a yet-to-be-created TiStudio ticket for handling projects with no Resources directory.

Comments

  1. Tony Lukasavage 2012-09-19

    Can't add Resources to .gitignore until TIMOB-10991 is resolved
  2. Tim Poulsen 2014-03-24

    PR: https://github.com/appcelerator/alloy/pull/352
  3. Tim Poulsen 2014-04-15

    PR merged
  4. Paras Mishra 2014-05-16

    Resources is not included in the .gitignore file .gitignore file contents are
       .DS_Store
       build.log
       build
       npm-debug.log
       tmp
       .map
       
    Hence reopening issue. Verified the issue on: SDK: 3.3.0.v20140515151935 CLI version : 3.3.0-dev OS : MAC OSX 10.9.2 Alloy: 1.4.0-Alpha ACS: 1.0.14 npm:1.3.2 LiveView: 1.0.4 Appcelerator Studio, build: 3.3.0.201405121247 titanium-code-processor: 1.1.1 XCode : 5.1.1
  5. Tim Poulsen 2014-05-16

    Updated gitignore template added to both master and 1_4_X branches. Please test again.
  6. Federico Casali 2014-05-21

    Verified fixed. Created a project from Studio (both default and two-tabbed template) and from CLI (using "ti create" & "alloy new" commands). Root project .gitignore file is including the following: .DS_Store Resources build.log build npm-debug.log tmp .map .project .settings Thumbs.db Environment: TiSDK 3.3.0.v20140521113312 Alloy 1.4.0-alpha2 Appcelerator Studio 3.3.0.201405161313 CLI 3.3.0-alpha5 Closing.

JSON Source