mirror of
https://github.com/vlang/v.git
synced 2025-09-13 22:42:26 +03:00
make.bat: fix not at root dir error
This commit is contained in:
parent
15d4b5fcdb
commit
5f32663714
1 changed files with 4 additions and 0 deletions
4
make.bat
4
make.bat
|
@ -2,6 +2,8 @@
|
||||||
|
|
||||||
echo Building V
|
echo Building V
|
||||||
|
|
||||||
|
pushd %~dp0
|
||||||
|
|
||||||
if exist "vc" (
|
if exist "vc" (
|
||||||
rd /s /q vc
|
rd /s /q vc
|
||||||
)
|
)
|
||||||
|
@ -110,8 +112,10 @@ goto :error
|
||||||
|
|
||||||
:error
|
:error
|
||||||
echo Exiting from error
|
echo Exiting from error
|
||||||
|
popd
|
||||||
exit /b 1
|
exit /b 1
|
||||||
|
|
||||||
:success
|
:success
|
||||||
echo V build OK!
|
echo V build OK!
|
||||||
v -version
|
v -version
|
||||||
|
popd
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue