summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJustin R. Miller <incanus@codesorcery.net>2014-02-13 16:24:00 -0800
committerJustin R. Miller <incanus@codesorcery.net>2014-02-13 16:24:00 -0800
commit4ff01fb07f77fcc2bce4ee5a7f835832b382c4ce (patch)
treeb328977876fe4033a9209539471cb4cf3f41d336 /README.md
parente08b318c59078be9d174749b2e87ab5ebc8095d4 (diff)
downloadqtlocation-mapboxgl-4ff01fb07f77fcc2bce4ee5a7f835832b382c4ce.tar.gz
allow for easier editing of style in Xcode
* write protobuf directly to file instead of stdout (for Gyp) * add style.js to editable sources * add build phases for pbf conversion & resources updates * update README style directions
Diffstat (limited to 'README.md')
-rw-r--r--README.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/README.md b/README.md
index 3e9a811d18..9eb3bcf9ec 100644
--- a/README.md
+++ b/README.md
@@ -111,7 +111,7 @@ proto/style.proto. The reason for doing so is that we don't have to ship with a
JSON/yaml parser. To test the conversion script, run
```
-bin/convert-style.js | protoc --decode=style proto/style.proto
+bin/convert-style.js && cat resources/style.pbf | protoc --decode=style proto/style.proto
```
You should see a nicely formatted hierarchical output of the converted style.
@@ -120,9 +120,10 @@ You should see a nicely formatted hierarchical output of the converted style.
To update the included default style, use
```
-bin/convert-style.js > resources/style.pbf && bin/build-style.js
+bin/convert-style.js && bin/build-style.js
```
+This is automatically taken care of as a build phase if you are using the Xcode projects.
# Usage