Release 1.2.0: setup-1c-repo for 1C Configurator dumps (EOL/encoding/ignore).
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
@echo off
|
||||
setlocal EnableExtensions
|
||||
REM ============================================================
|
||||
REM setup-1c-repo.cmd - обёртка Windows для setup-1c-repo.ps1
|
||||
REM Версия: 1.2.0
|
||||
REM Запуск из корня Git-репозитория 1С-проекта (выгрузка конфигуратора).
|
||||
REM ============================================================
|
||||
|
||||
set "SCRIPT_DIR=%~dp0"
|
||||
set "PS1=%SCRIPT_DIR%setup-1c-repo.ps1"
|
||||
|
||||
if not exist "%PS1%" (
|
||||
echo [ERROR] Не найден файл: %PS1%
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
REM Bypass только для этого скрипта; аргументы пробрасываются как есть.
|
||||
powershell.exe -NoProfile -ExecutionPolicy Bypass -File "%PS1%" %*
|
||||
set "EXITCODE=%ERRORLEVEL%"
|
||||
exit /b %EXITCODE%
|
||||
Reference in New Issue
Block a user