From 63563bc2e9b4f76e33d2d218ca26e27888a9be03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Jaro=C5=A1?= Date: Sun, 9 Mar 2025 09:02:31 +0100 Subject: [PATCH] Move support files into own folder --- .gitignore | 4 ++-- {downloader => .support}/.prettierrc | 0 {downloader => .support}/index.ts | 0 {downloader => .support}/package.json | 0 {downloader => .support}/pnpm-lock.yaml | 0 sync.sh => .support/sync.sh | 5 +++-- {downloader => .support}/tsconfig.json | 0 7 files changed, 5 insertions(+), 4 deletions(-) rename {downloader => .support}/.prettierrc (100%) rename {downloader => .support}/index.ts (100%) rename {downloader => .support}/package.json (100%) rename {downloader => .support}/pnpm-lock.yaml (100%) rename sync.sh => .support/sync.sh (84%) rename {downloader => .support}/tsconfig.json (100%) diff --git a/.gitignore b/.gitignore index 04726da..374f6f9 100755 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,7 @@ .idea/ .DS_Store -downloader/.env -downloader/node_modules +.support/.env +.support/node_modules lib \ No newline at end of file diff --git a/downloader/.prettierrc b/.support/.prettierrc similarity index 100% rename from downloader/.prettierrc rename to .support/.prettierrc diff --git a/downloader/index.ts b/.support/index.ts similarity index 100% rename from downloader/index.ts rename to .support/index.ts diff --git a/downloader/package.json b/.support/package.json similarity index 100% rename from downloader/package.json rename to .support/package.json diff --git a/downloader/pnpm-lock.yaml b/.support/pnpm-lock.yaml similarity index 100% rename from downloader/pnpm-lock.yaml rename to .support/pnpm-lock.yaml diff --git a/sync.sh b/.support/sync.sh similarity index 84% rename from sync.sh rename to .support/sync.sh index e592f04..d895382 100644 --- a/sync.sh +++ b/.support/sync.sh @@ -3,8 +3,8 @@ #wow_source_folder="retail" #wow_destiny_folder="retail" +#wow_source_folder="beta" #wow_destiny_folder="retail" -#wow_destiny_folder="beta" wow_source_folder="classic_era" wow_destiny_folder="classic_era" @@ -13,8 +13,9 @@ src_folder="." dest_folder="/Applications/World of Warcraft/_${wow_destiny_folder}_/Interface/AddOns/CzechQuests" fswatch -o "$src_folder" | while read -r change; do - rsync -avu --delete "$src_folder" "$dest_folder" --exclude={'.*','*.png','*.sh','*.md','Addon/Data/**','downloader/**',"lib/**","Jenkinsfile"} + rsync -avu --delete "$src_folder" "$dest_folder" --exclude={'.*','*.png','*.sh','*.md','Addon/Data/**',"lib/**","Jenkinsfile"} rsync -au --delete "$src_folder/Addon/Data/$wow_source_folder/" "$dest_folder/Addon/Data/" echo "Dest: $dest_folder" cp "$src_folder/Addon/Data/other.lua" "$dest_folder/Addon/Data/" done + diff --git a/downloader/tsconfig.json b/.support/tsconfig.json similarity index 100% rename from downloader/tsconfig.json rename to .support/tsconfig.json