2015-02-20 04:10:52 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2015-03-23 18:48:02 +00:00
|
|
|
# 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.
|
|
|
|
|
2015-04-22 23:30:27 +00:00
|
|
|
if [ $REACT_PACKAGER_LOG ];
|
|
|
|
then
|
|
|
|
echo "Logs will be redirected to $REACT_PACKAGER_LOG"
|
|
|
|
exec &> $REACT_PACKAGER_LOG
|
|
|
|
fi
|
|
|
|
|
2015-02-20 04:10:52 +00:00
|
|
|
ulimit -n 4096
|
|
|
|
|
|
|
|
THIS_DIR=$(dirname "$0")
|
2015-03-26 19:46:20 +00:00
|
|
|
node "$THIS_DIR/packager.js" "$@"
|