Skip to content

Commit c3497d4

Browse files
committed
chore: add pack watch delete tools
1 parent 322b3e1 commit c3497d4

File tree

3 files changed

+35
-0
lines changed

3 files changed

+35
-0
lines changed

tools/delete-bin.cmd

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
@ECHO off
2+
cls
3+
cd ..
4+
5+
ECHO Deleting all BIN and OBJ folders...
6+
ECHO.
7+
8+
FOR /d /r . %%d in (bin,obj) DO (
9+
IF EXIST "%%d" (
10+
ECHO %%d | FIND /I "\node_modules\" > Nul && (
11+
ECHO.Skipping: %%d
12+
) || (
13+
ECHO.Deleting: %%d
14+
rd /s/q "%%d"
15+
)
16+
)
17+
)
18+
19+
ECHO.
20+
ECHO.BIN and OBJ folders have been successfully deleted. Press any key to exit.
21+
pause > nul

tools/pack.bat

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
@echo off
2+
setlocal enabledelayedexpansion
3+
4+
cd ../src/BootstrapBlazor
5+
dotnet pack -c Release
6+
7+
endlocal

tools/watch.bat

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
@echo off
2+
setlocal enabledelayedexpansion
3+
4+
cd ../src/BootstrapBlazor.Server
5+
dotnet watch run
6+
7+
endlocal

0 commit comments

Comments
 (0)