mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Only depend on ios-sim on OS X
This commit is contained in:
12
packages/cordova/package.js
vendored
12
packages/cordova/package.js
vendored
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user