Skip to content

Commit 5e1ddc7

Browse files
committed
fix: Copy files from seed repo doesnt work under MacOS
1 parent 2a7abc5 commit 5e1ddc7

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

.exclude

Lines changed: 0 additions & 11 deletions
This file was deleted.

copy_local.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ copy_files() {
88
dirs_to_exclude="`cat ./exclude_dirs.txt`"
99
robocopy . "$destination" //XD $dirs_to_exclude //XF $files_to_exclude //E
1010
else
11-
rsync -arv --exclude-from=./.exclude $(pwd)/ "$destination"
11+
rsync -avz --exclude-from=exclude.txt $(pwd)/ "$destination"
1212
fi
1313

1414
#shopt -s extglob

exclude.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
.git
2+
.vscode
3+
.asset-cache
4+
_site
5+
.github
6+
_buildApi
7+
README.md
8+
.gitignore
9+
.contentignore
10+
exclude_files.txt
11+
exclude_dirs.txt

exclude_files.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
README.md .gitignore .contentignore exclude_files.txt exclude_dirs.txt .exclude
1+
README.md .gitignore .contentignore exclude_files.txt exclude_dirs.txt exclude.txt

0 commit comments

Comments
 (0)