Skip to content
Permalink
Browse files

update script to ignore flexible infection folder

  • Loading branch information...
hahaluckyme committed Jun 25, 2018
1 parent d671915 commit 73ba116e31c041e2272546a79b82d75adb7e4c3e
Showing with 9 additions and 5 deletions.
  1. +9 −5 sync.bat
@@ -68,12 +68,16 @@ for /d %%D in (*) do (
IF "%%D"=="Inform" (
echo [INFO] * Skipping Inform folder
) ELSE (
IF "%%D"=="Figures" (
echo [INFO] * Skipping Figures folder
IF "%%D"=="Flexible Infection" (
echo [INFO] * Skipping Flexible Infection folder
) ELSE (
echo [INFO] Making symlink for %%D
rmdir /S /Q "%HOMEPATH%\Documents\Inform\Extensions\%%D"
mklink /D "%HOMEPATH%\Documents\Inform\Extensions\%%D" "%HOMEPATH%\Documents\Github\Flexible-Survival\%%D"
IF "%%D"=="Figures" (
echo [INFO] * Skipping Figures folder
) ELSE (
echo [INFO] Making symlink for %%D
rmdir /S /Q "%HOMEPATH%\Documents\Inform\Extensions\%%D"
mklink /D "%HOMEPATH%\Documents\Inform\Extensions\%%D" "%HOMEPATH%\Documents\Github\Flexible-Survival\%%D"
)
)
)
)

0 comments on commit 73ba116

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.