From 203b37cd9a8c25de130c575f9cb60373fae4ffa6 Mon Sep 17 00:00:00 2001 From: Martin Bektchiev Date: Fri, 17 Mar 2017 12:45:21 +0200 Subject: [PATCH] Remove unused node-xcode package --- extra/hooks/iosrtc-swift-support.js | 1 - extra/hooks/package.json | 5 ----- extra/hooks/prerequisites.js | 15 --------------- plugin.xml | 1 - 4 files changed, 22 deletions(-) delete mode 100644 extra/hooks/package.json delete mode 100644 extra/hooks/prerequisites.js diff --git a/extra/hooks/iosrtc-swift-support.js b/extra/hooks/iosrtc-swift-support.js index edb1c9a2..a9d54767 100755 --- a/extra/hooks/iosrtc-swift-support.js +++ b/extra/hooks/iosrtc-swift-support.js @@ -10,7 +10,6 @@ console.error('running iosrtc hook'); var fs = require("fs"), path = require("path"), - xcode = require('xcode'), BUILD_VERSION = '9.0', BUILD_VERSION_XCODE = '"' + BUILD_VERSION + '"', diff --git a/extra/hooks/package.json b/extra/hooks/package.json deleted file mode 100644 index 1a23af27..00000000 --- a/extra/hooks/package.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "dependencies": { - "xcode": "0.8.9" - } -} \ No newline at end of file diff --git a/extra/hooks/prerequisites.js b/extra/hooks/prerequisites.js deleted file mode 100644 index e5c632d9..00000000 --- a/extra/hooks/prerequisites.js +++ /dev/null @@ -1,15 +0,0 @@ -module.exports = function (context) { - var child_process = context.requireCordovaModule('child_process'), - deferral = context.requireCordovaModule('q').defer(); - - var output = child_process.exec('npm install', {cwd: __dirname}, - function (error) { - if (error !== null) { - console.log('exec error: ' + error); - deferral.reject('npm installation failed'); - } - deferral.resolve(); - }); - - return deferral.promise; -}; \ No newline at end of file diff --git a/plugin.xml b/plugin.xml index 93c3d2a7..029302f9 100644 --- a/plugin.xml +++ b/plugin.xml @@ -19,7 +19,6 @@ -