adobe/brackets-shell — pull request #162 by gruehle (2012-12-15 01:45:41+00:00)
Title: Simplify project setup and building

This is a big simplification in project setup and building.

Once you have Git, Python and XCode/Visual studio installed, there are only 2 steps to setting up and building brackets shell:

**SETUP**

Run `scripts/setup.sh` from a Bash prompt (Terminal on Mac, GitBash on Windows). This script does the following:
* Checks the current version of `deps/cef`. If it is missing or incorrect, the proper version is downloaded and installed.
* Makes the CEF symlinks, if needed.
* Generates the project files (appshell.sln on Windows, appshell.xcodeproj on Mac)

**BUILDING**

To build from XCode/Visual studio:
* Open the project file (appshell.sln on Windows, appshell.xcodeproj on Mac)
* Build/Run the "Brackets" target

To build from the command line:
* Make sure the `BRACKETS_SRC` environment variable is set, and points to the location of the brackets repo.
* Run `scripts/build.sh` from a Bash prompt. This will grab the latest source, update submodules, build the project, package the WWW files, and build the installer (mac only for now). The installer build will fail if you don't have DropDMG installed. The final build is in `installer/{platform}/staging` directory.

**Notes about the changes**
The biggest change is adding in the gyp tool (I tried to find a binary distribution, but was not successful). When reviewing, you can safely ignore all the files in the `gyp` directory, since they were copied verbatim.

The `config.gypi` file is a modified version of the `config.gypi` file from Chromium. It has the minimal modifications done to make it work standalone, without requiring any other Chromium source files.

The project files have been removed from the repo. Now that the dependency on chromium src has been removed, we should *only* check in .gyp files, and not project files.

I will update the "Building brackets-shell" wiki page once this pull request is merged.