File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -34,15 +34,20 @@ if "%MAKE%" == "" (
3434 echo;
3535 echo nmake.exe not found.
3636 call :CleanUp
37- pause
3837 exit /B 1
3938)
4039
4140if " %QMAKE% " == " " (
4241 echo;
4342 echo qmake.exe command not found.
4443 call :CleanUp
45- pause
44+ exit /B 1
45+ )
46+
47+ if " %CMAKE% " == " " (
48+ echo;
49+ echo cmake.exe command not found.
50+ call :CleanUp
4651 exit /B 1
4752)
4853
@@ -60,7 +65,6 @@ if "%SQLITE%" == "" (
6065 echo;
6166 echo sqlite.exe command not found.
6267 call :CleanUp
63- pause
6468 exit /B 1
6569)
6670" %SQLITE% " %DBFILE% < create_blog_table.sql
@@ -69,10 +73,10 @@ cd %APPDIR%
6973echo n | tspawn s blog
7074tspawn w foo
7175
72- @ REM :: Set ExecutionPolicy
76+ :: Set ExecutionPolicy
7377@ REM for %%I in (tadpoled.exe) do if exist %%~$path:I set TADPOLED=%%~$path:I
7478@ REM for %%I in (tadpole.exe) do if exist %%~$path:I set TADPOLE=%%~$path:I
75- @ REM powershell -Command "Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope CurrentUser -Force"
79+ powershell -Command " Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope CurrentUser -Force"
7680@ REM powershell -command "New-NetFirewallRule -DisplayName MyAppAccess1 -Direction Inbound -Action Allow -Profile Public,Private -Program '%TADPOLED%' -Protocol TCP -LocalPort %PORT% -RemoteAddress 127.0.0.1" > nul 2> &1
7781@ REM powershell -command "New-NetFirewallRule -DisplayName MyAppAccess2 -Direction Inbound -Action Allow -Profile Public,Private -Program '%TADPOLE%' -Protocol TCP -LocalPort %PORT% -RemoteAddress 127.0.0.1" > nul 2> &1
7882
@@ -206,6 +210,7 @@ if not "%RESCODE%"=="200" (
206210 exit /B 1
207211)
208212echo HTTP request success " %URL% "
213+
209214exit /B 0
210215
211216::
You can’t perform that action at this time.
0 commit comments