skia2/platform_tools/ios/bin/ios_push_file
2015-04-21 08:31:59 -07:00

19 lines
517 B
Bash
Executable File

#!/bin/bash
###############################################################################
# Copyright 2015 Google Inc.
#
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
###############################################################################
# Fail-fast if anything in the script fails.
set -e
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source $SCRIPT_DIR/ios_setup.sh
HOST_PATH=$1
DEVICE_PATH=$2
ios_push $HOST_PATH $DEVICE_PATH