Skip to content

Commit

Permalink
Update topology to latest (#1525)
Browse files Browse the repository at this point in the history
  • Loading branch information
corradio authored Jul 30, 2018
1 parent dca45ea commit 8ac91b6
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 2 deletions.
12 changes: 12 additions & 0 deletions mobileapp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,15 @@ code-push promote electricitymap-{ios,android} Staging Production
```

Note about releases: bumping the release number will cause a new binary to be created. All code-push updates are tied to a binary version, meaning that apps will only update to code-push updates that are compatible with their binary version.

## Troubleshooting

If you get

```
ld: warning: directory not found for option '-L/Users/oliviercorradi/Library/Developer/Xcode/DerivedData/electricityMap-bodzannsraziqncaeafoyayssnvd/Build/Products/Debug-iphonesimulator/GoogleToolboxForMac'
ld: warning: directory not found for option '-L/Users/oliviercorradi/Library/Developer/Xcode/DerivedData/electricityMap-bodzannsraziqncaeafoyayssnvd/Build/Products/Debug-iphonesimulator/nanopb'
ld: library not found for -lGoogleToolboxForMac
```

while building for ios, you should run `pod install` from the `platforms/ios` directory.
1 change: 1 addition & 0 deletions mobileapp/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ docker rm $CONTAINER_ID

# Run node in order to build index.html
echo 'Generating index pages..'
yarn add ejs
node generate-index.js
2 changes: 1 addition & 1 deletion mobileapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"cordova-plugin-zip": "^3.1.0",
"cordova-support-google-services": "^1.1.0",
"cordova-universal-links-plugin": "git+https://github.com/flipflopapp/cordova-universal-links-plugin.git",
"ejs": "^2.5.5",
"ejs": "^2.6.1",
"i18n": "^0.8.3"
},
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion web/src/world.json

Large diffs are not rendered by default.

0 comments on commit 8ac91b6

Please sign in to comment.