We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa0e7e5 commit 4ec2c98Copy full SHA for 4ec2c98
build.cmd
@@ -1,7 +1,18 @@
1
@echo off
2
cd /d "%~dp0"
3
4
-set "PANDOC=C:\Program Files\Pandoc\pandoc.exe"
+if "%PANDOC%"=="" (
5
+ set "PANDOC=C:\Program Files\Pandoc\pandoc.exe"
6
+)
7
+
8
+if "%VS2019INSTALLDIR%"=="" (
9
+ set "VS2019INSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional"
10
11
12
+if not exist "%PANDOC%" (
13
+ echo Error: PANDOC executable not found!
14
+ goto:finished
15
16
17
if not exist "%VS2019INSTALLDIR%\Common7\Tools\VsDevCmd.bat" (
18
echo Error: VS2019INSTALLDIR not found!
0 commit comments