Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-5332

.gitignore file line is "build", which excludes build shell script from git commit

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 3.0.0
    • None
    • cordova-ios
    • OSx 10.7.4, Cordova 3.0.4

    Description

      > cordova platform add ios
      This drops a .gitignore file here
      platforms/ios/.gitignore file which includes the line

      build

      but it needs to be changed to:

      build/

      Otherwise the actual shell script in the subdirectory platforms/ios/cordova/build is excluded from the commit and subsequent clones cannot run the cordova build ios command because it will complain that the cordova/build file doesn't exist. ( because it wasn't added to the git repo )

      It took me some time to figure out what happened to my build file and I finally found that .gitignore issue.

      Thanks.

      Attachments

        Issue Links

          Activity

            People

              shazron Shazron Abdullah
              dehru Dehru Cromer
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 1h
                  1h
                  Remaining:
                  Remaining Estimate - 1h
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified