mapbox/osm-bright — pull request #26 by llimllib (2012-02-02 20:58:07+00:00)
Title: Separate Configure from Make

Hey guys,

This patch does a few things.

1. Separates the bottom half of `configure.py` into a `make.py` file

2. Clean up the `make.py` file. There was some non-idiomatic code in there which has been refactored. (for example, `f.closed` is a no-op and has been removed)

3. Change the output directory for the make file from `osm-bright` to `build`. This is done on the theory that you should never automatically change files that are committed to source control.

4. Update the precommit.py script to the new format. ISTM that this script needs either reworking in light of the addition of the osm2pgsql template or to be ditched, but that's neither here nor there.

5. Move the two mml template files into the osm-bright directory. This seems to me conceptually where they belong. I can explain further if you disagree?

6. Adds a .gitignore file which ignores `*.pyc` files and the `build` dir.

I'm did this while I'm trying to clean it up a bit so I can figure out why it's not working for me. Let me know if it doesn't make sense from your perspective.

Thanks,

llimllib