Skip to content

Commit 4e88949

Browse files
committed
update
1 parent 2f67716 commit 4e88949

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

tools/create_package.bat

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,31 @@ REM
152152
set RESULT=1
153153
exit /b 1
154154
)
155-
155+
156+
rmdir /S /Q "%UNITY_ROOT_DIR%\.github"
157+
if exist "%UNITY_ROOT_DIR%\.github" (
158+
echo .git ディレクトリの削除に失敗しました。
159+
set RESULT=1
160+
exit /b 1
161+
)
162+
del "%UNITY_ROOT_DIR%\.gitattributes"
163+
if exist "%UNITY_ROOT_DIR%\.gitattributes" (
164+
echo tools ディレクトリの削除に失敗しました。
165+
set RESULT=1
166+
exit /b 1
167+
)
168+
del "%UNITY_ROOT_DIR%\.gitignore"
169+
if exist "%UNITY_ROOT_DIR%\.gitignore" (
170+
echo tools ディレクトリの削除に失敗しました。
171+
set RESULT=1
172+
exit /b 1
173+
)
174+
del "%UNITY_ROOT_DIR%\.gitmodules"
175+
if exist "%UNITY_ROOT_DIR%\.gitmodules" (
176+
echo tools ディレクトリの削除に失敗しました。
177+
set RESULT=1
178+
exit /b 1
179+
)
156180
rmdir /S /Q "%UNITY_ROOT_DIR%\tools"
157181
if exist "%UNITY_ROOT_DIR%\tools" (
158182
echo tools ディレクトリの削除に失敗しました。

0 commit comments

Comments
 (0)