5 echo "Usage: sync [-p]"
6 echo "Repository syncing script."
7 echo " -p Restore all NuGet packages for the repository"
8 echo "If no option is specified, then \"sync.sh -p\" is implied."
12 working_tree_root="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
31 unprocessedBuildArgs="$unprocessedBuildArgs $1"
36 $working_tree_root/run.sh sync $buildArgs $unprocessedBuildArgs
39 echo "ERROR: An error occurred while syncing packages; See $working_tree_root/sync.log for more details. There may have been networking problems, so please try again in a few minutes."
43 echo "Sync completed successfully."