Only depend on ios-sim on OS X

This commit is contained in:
Martijn Walraven
2015-08-03 14:11:34 +02:00
parent 74b5f7bcea
commit b618de8cd1

View File

@@ -13,9 +13,15 @@ Package.onUse(function (api) {
api.export("Cordova", "server");
});
Npm.depends({
var npmDependencies = {
// We use our own branch because cordova-lib does not respect the silent option
// https://github.com/meteor/cordova-lib/tree/respect-silent/cordova-lib
// Can't download the tarball from GitHub because the package.json is in a subdirectory
"cordova-lib": "https://s3.amazonaws.com/android-bundle/cordova-lib-0000000000000000000000000000000000000000.tar.gz",
"ios-sim": "4.1.1"});
"cordova-lib": "https://s3.amazonaws.com/android-bundle/cordova-lib-0000000000000000000000000000000000000000.tar.gz"
};
if (process.platform === 'darwin') {
npmDependencies["ios-sim"] = "4.1.1";
}
Npm.depends(npmDependencies);