1
0
Fork 0
js-utils/scripts/project-update.sh

10 lines
216 B
Bash
Executable File

#! /bin/bash
set -x
PROJECT_NAME="${1}"
echo "Updating project: ${PROJECT_NAME}"
git ls-tree -r HEAD --name-only | rsync -avh \
--files-from=- \
--exclude-from=./scripts/project-exclude \
./ "${PROJECT_NAME}"