From bdd0a4717f7dcddb4ac1c37e860730b1fd972b12 Mon Sep 17 00:00:00 2001 From: czoido Date: Thu, 20 Jun 2024 17:47:10 +0200 Subject: [PATCH] fix check changes --- ProjectConfigurationManager.cs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/ProjectConfigurationManager.cs b/ProjectConfigurationManager.cs index 2453438..8ed9678 100644 --- a/ProjectConfigurationManager.cs +++ b/ProjectConfigurationManager.cs @@ -123,13 +123,19 @@ REM Initialize flags if exist "".conan\CONANDATA_%CONAN_BUILD_CONFIG%"" ( echo Checking changes in conandata.yml fc ""conandata.yml"" "".conan\CONANDATA_%CONAN_BUILD_CONFIG%"" > nul - if %errorlevel% equ 1 set performInstall=1 + if errorlevel 1 ( + set performInstall=1 + echo Changes detected in conandata.yml + ) ) if exist "".conan\CONANFILE_%CONAN_BUILD_CONFIG%"" ( echo Checking changes in conanfile.py fc ""conanfile.py"" "".conan\CONANFILE_%CONAN_BUILD_CONFIG%"" > nul - if %errorlevel% equ 1 set performInstall=1 + if errorlevel 1 ( + set performInstall=1 + echo Changes detected in conanfile.py + ) ) REM Check for the .runconan file that indicates changes in profiles