[reactnative] remove platform option from oss packager

This commit is contained in:
Felix Oghină 2015-08-26 10:53:41 -01:00
parent 84f498cd2b
commit dbdf7f366f
2 changed files with 1 additions and 23 deletions

View File

@ -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 <enter> to close the window"
read

View File

@ -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,