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%" == "" (
34
34
echo;
35
35
echo nmake.exe not found.
36
36
call :CleanUp
37
- pause
38
37
exit /B 1
39
38
)
40
39
41
40
if " %QMAKE% " == " " (
42
41
echo;
43
42
echo qmake.exe command not found.
44
43
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
46
51
exit /B 1
47
52
)
48
53
@@ -60,7 +65,6 @@ if "%SQLITE%" == "" (
60
65
echo;
61
66
echo sqlite.exe command not found.
62
67
call :CleanUp
63
- pause
64
68
exit /B 1
65
69
)
66
70
" %SQLITE% " %DBFILE% < create_blog_table.sql
@@ -69,10 +73,10 @@ cd %APPDIR%
69
73
echo n | tspawn s blog
70
74
tspawn w foo
71
75
72
- @ REM :: Set ExecutionPolicy
76
+ :: Set ExecutionPolicy
73
77
@ REM for %%I in (tadpoled.exe) do if exist %%~$path:I set TADPOLED=%%~$path:I
74
78
@ 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"
76
80
@ 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
77
81
@ 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
78
82
@@ -206,6 +210,7 @@ if not "%RESCODE%"=="200" (
206
210
exit /B 1
207
211
)
208
212
echo HTTP request success " %URL% "
213
+
209
214
exit /B 0
210
215
211
216
::
You can’t perform that action at this time.
0 commit comments