From 626f828d547f8b7092e132617c03104971aa1a93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Oghin=C4=83?= Date: Wed, 26 Aug 2015 10:53:41 -0100 Subject: [PATCH] [reactnative] remove platform option from oss packager --- packager/launchAndroidPackager.command | 17 ----------------- packager/packager.js | 7 +------ 2 files changed, 1 insertion(+), 23 deletions(-) delete mode 100755 packager/launchAndroidPackager.command diff --git a/packager/launchAndroidPackager.command b/packager/launchAndroidPackager.command deleted file mode 100755 index 10951f3f3..000000000 --- a/packager/launchAndroidPackager.command +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/env bash - -# Copyright (c) 2015-present, Facebook, Inc. -# All rights reserved. -# -# This source code is licensed under the BSD-style license found in the -# LICENSE file in the root directory of this source tree. An additional grant -# of patent rights can be found in the PATENTS file in the same directory. - -# Set terminal title -echo -en "\033]0;React Packager\a" -clear - -THIS_DIR=$(dirname "$0") -$THIS_DIR/packager.sh --platform android --port 8082 -echo "Process terminated. Press to close the window" -read diff --git a/packager/packager.js b/packager/packager.js index fcff7e58f..8f0f08007 100644 --- a/packager/packager.js +++ b/packager/packager.js @@ -48,11 +48,6 @@ var options = parseCommandLine([{ command: 'assetRoots', type: 'string', description: 'specify the root directories of app assets' -}, { - command: 'platform', - type: 'string', - default: 'ios', - description: 'Specify the platform-specific blacklist (ios, android, web).' }, { command: 'skipflow', description: 'Disable flow checks' @@ -229,7 +224,7 @@ function getAppMiddleware(options) { return ReactPackager.middleware({ nonPersistent: options.nonPersistent, projectRoots: options.projectRoots, - blacklistRE: blacklist(options.platform), + blacklistRE: blacklist(), cacheVersion: '2', transformModulePath: transformerPath, assetRoots: options.assetRoots,