pando-ai 0.1.4 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +124 -124
- package/dist/watcher-process.js +421 -421
- package/dist/workers/chunk-Z7LW7C4Z.mjs +518 -0
- package/dist/workers/indexer-worker.mjs +1 -1
- package/dist/workers/snapshot-worker.mjs +8 -4
- package/package.json +5 -4
- package/resources/tools/{pando-tools.json → generated_pando-tools.json} +98 -4
- package/resources/tools/generated_tools.md +93 -0
- package/tools/clojure-editor/lib/pando-clojure-editor-standalone.jar +0 -0
- package/tools/clojure-indexer/lib/pando-clojure-indexer-standalone.jar +0 -0
- package/tools/csharp-indexer/CSharpIndexer.csproj +1 -1
- package/tools/csharp-indexer/bin/pando-csharp-indexer +81 -23
- package/tools/csharp-indexer/bin/pando-csharp-indexer.cmd +82 -14
- package/tools/csharp-indexer/src/Program.cs +1860 -0
- package/dist/workers/chunk-BD3AO7O3.mjs +0 -522
- package/tools/csharp-indexer/bin/Release/net10.0/CSharpIndexer +0 -0
- package/tools/csharp-indexer/bin/Release/net10.0/CSharpIndexer.deps.json +0 -383
- package/tools/csharp-indexer/bin/Release/net10.0/CSharpIndexer.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net10.0/CSharpIndexer.pdb +0 -0
- package/tools/csharp-indexer/bin/Release/net10.0/CSharpIndexer.runtimeconfig.json +0 -13
- package/tools/csharp-indexer/bin/Release/net10.0/Humanizer.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net10.0/Microsoft.CodeAnalysis.CSharp.Workspaces.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net10.0/Microsoft.CodeAnalysis.CSharp.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net10.0/Microsoft.CodeAnalysis.Workspaces.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net10.0/Microsoft.CodeAnalysis.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net10.0/System.Composition.AttributedModel.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net10.0/System.Composition.Convention.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net10.0/System.Composition.Hosting.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net10.0/System.Composition.Runtime.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net10.0/System.Composition.TypedParts.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net10.0/cs/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net10.0/cs/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net10.0/cs/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net10.0/cs/Microsoft.CodeAnalysis.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net10.0/de/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net10.0/de/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net10.0/de/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net10.0/de/Microsoft.CodeAnalysis.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net10.0/es/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net10.0/es/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net10.0/es/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net10.0/es/Microsoft.CodeAnalysis.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net10.0/fr/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net10.0/fr/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net10.0/fr/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net10.0/fr/Microsoft.CodeAnalysis.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net10.0/it/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net10.0/it/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net10.0/it/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net10.0/it/Microsoft.CodeAnalysis.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net10.0/ja/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net10.0/ja/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net10.0/ja/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net10.0/ja/Microsoft.CodeAnalysis.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net10.0/ko/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net10.0/ko/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net10.0/ko/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net10.0/ko/Microsoft.CodeAnalysis.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net10.0/pl/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net10.0/pl/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net10.0/pl/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net10.0/pl/Microsoft.CodeAnalysis.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net10.0/pt-BR/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net10.0/pt-BR/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net10.0/pt-BR/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net10.0/pt-BR/Microsoft.CodeAnalysis.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net10.0/ru/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net10.0/ru/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net10.0/ru/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net10.0/ru/Microsoft.CodeAnalysis.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net10.0/tr/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net10.0/tr/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net10.0/tr/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net10.0/tr/Microsoft.CodeAnalysis.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net10.0/zh-Hans/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net10.0/zh-Hans/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net10.0/zh-Hans/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net10.0/zh-Hans/Microsoft.CodeAnalysis.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net10.0/zh-Hant/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net10.0/zh-Hant/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net10.0/zh-Hant/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net10.0/zh-Hant/Microsoft.CodeAnalysis.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/CSharpIndexer +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/CSharpIndexer.deps.json +0 -400
- package/tools/csharp-indexer/bin/Release/net8.0/CSharpIndexer.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/CSharpIndexer.pdb +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/CSharpIndexer.runtimeconfig.json +0 -13
- package/tools/csharp-indexer/bin/Release/net8.0/Humanizer.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/Microsoft.CodeAnalysis.CSharp.Workspaces.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/Microsoft.CodeAnalysis.CSharp.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/Microsoft.CodeAnalysis.Workspaces.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/Microsoft.CodeAnalysis.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/System.Composition.AttributedModel.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/System.Composition.Convention.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/System.Composition.Hosting.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/System.Composition.Runtime.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/System.Composition.TypedParts.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/System.IO.Pipelines.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/cs/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/cs/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/cs/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/cs/Microsoft.CodeAnalysis.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/de/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/de/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/de/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/de/Microsoft.CodeAnalysis.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/es/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/es/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/es/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/es/Microsoft.CodeAnalysis.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/fr/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/fr/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/fr/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/fr/Microsoft.CodeAnalysis.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/it/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/it/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/it/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/it/Microsoft.CodeAnalysis.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/ja/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/ja/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/ja/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/ja/Microsoft.CodeAnalysis.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/ko/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/ko/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/ko/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/ko/Microsoft.CodeAnalysis.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/pl/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/pl/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/pl/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/pl/Microsoft.CodeAnalysis.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/pt-BR/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/pt-BR/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/pt-BR/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/pt-BR/Microsoft.CodeAnalysis.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/ru/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/ru/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/ru/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/ru/Microsoft.CodeAnalysis.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/tr/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/tr/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/tr/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/tr/Microsoft.CodeAnalysis.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/zh-Hans/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/zh-Hans/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/zh-Hans/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/zh-Hans/Microsoft.CodeAnalysis.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/zh-Hant/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/zh-Hant/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/zh-Hant/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
- package/tools/csharp-indexer/bin/Release/net8.0/zh-Hant/Microsoft.CodeAnalysis.resources.dll +0 -0
|
@@ -1,17 +1,85 @@
|
|
|
1
1
|
@echo off
|
|
2
2
|
setlocal
|
|
3
3
|
set ROOT_DIR=%~dp0\..
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
dotnet
|
|
8
|
-
exit /b
|
|
9
|
-
)
|
|
10
|
-
if exist "%
|
|
11
|
-
|
|
12
|
-
exit /b
|
|
13
|
-
)
|
|
14
|
-
|
|
15
|
-
echo
|
|
16
|
-
|
|
17
|
-
|
|
4
|
+
where dotnet >nul 2>nul
|
|
5
|
+
if errorlevel 1 (
|
|
6
|
+
echo CSharpIndexer requires the .NET SDK on PATH so it can build against the host SDK on first run. 1>&2
|
|
7
|
+
echo Install .NET SDK from https://dotnet.microsoft.com/download 1>&2
|
|
8
|
+
exit /b 1
|
|
9
|
+
)
|
|
10
|
+
if not exist "%ROOT_DIR%\CSharpIndexer.csproj" (
|
|
11
|
+
echo CSharpIndexer source is missing from %ROOT_DIR%. 1>&2
|
|
12
|
+
exit /b 1
|
|
13
|
+
)
|
|
14
|
+
if not exist "%ROOT_DIR%\src\Program.cs" (
|
|
15
|
+
echo CSharpIndexer source is missing from %ROOT_DIR%. 1>&2
|
|
16
|
+
exit /b 1
|
|
17
|
+
)
|
|
18
|
+
|
|
19
|
+
set SDK_MAJOR=
|
|
20
|
+
for %%m in (10 9 8) do (
|
|
21
|
+
dotnet --list-sdks | findstr /R /C:"^%%m\\." >nul
|
|
22
|
+
if not errorlevel 1 (
|
|
23
|
+
set SDK_MAJOR=%%m
|
|
24
|
+
goto sdk_major_found
|
|
25
|
+
)
|
|
26
|
+
)
|
|
27
|
+
for /f "tokens=1 delims=." %%v in ('dotnet --version') do set SDK_MAJOR=%%v
|
|
28
|
+
:sdk_major_found
|
|
29
|
+
if "%SDK_MAJOR%"=="" set SDK_MAJOR=8
|
|
30
|
+
if %SDK_MAJOR% LSS 8 (
|
|
31
|
+
echo CSharpIndexer requires .NET SDK 8.0 or newer. 1>&2
|
|
32
|
+
exit /b 1
|
|
33
|
+
)
|
|
34
|
+
|
|
35
|
+
set TFM=net%SDK_MAJOR%.0
|
|
36
|
+
if "%PANDO_CSHARP_INDEXER_CACHE_DIR%"=="" (
|
|
37
|
+
if "%LOCALAPPDATA%"=="" (
|
|
38
|
+
set CACHE_BASE=%USERPROFILE%\.cache\pando\csharp-indexer
|
|
39
|
+
) else (
|
|
40
|
+
set CACHE_BASE=%LOCALAPPDATA%\pando\csharp-indexer
|
|
41
|
+
)
|
|
42
|
+
) else (
|
|
43
|
+
set CACHE_BASE=%PANDO_CSHARP_INDEXER_CACHE_DIR%
|
|
44
|
+
)
|
|
45
|
+
|
|
46
|
+
for /f %%h in ('powershell -NoProfile -ExecutionPolicy Bypass -Command "$root=$env:ROOT_DIR; $files=@(Get-ChildItem -Path (Join-Path $root 'src') -Recurse -Filter '*.cs' | Sort-Object FullName) + @(Get-Item (Join-Path $root 'CSharpIndexer.csproj')); $h=[System.Security.Cryptography.SHA256]::Create(); $text='v2'; foreach ($file in $files) { $text += $file.FullName.Substring($root.Length) + (Get-Content -Raw $file.FullName) }; $bytes=[System.Text.Encoding]::UTF8.GetBytes($text); ([BitConverter]::ToString($h.ComputeHash($bytes))).Replace('-', '').ToLowerInvariant()"') do set SOURCE_HASH=%%h
|
|
47
|
+
|
|
48
|
+
set BUILD_DIR=%CACHE_BASE%\%SOURCE_HASH%\%TFM%
|
|
49
|
+
set DLL=%BUILD_DIR%\CSharpIndexer.dll
|
|
50
|
+
set INTERMEDIATE_DIR=%BUILD_DIR%\obj\
|
|
51
|
+
set BASE_OUTPUT_DIR=%BUILD_DIR%\bin\
|
|
52
|
+
if exist "%DLL%" goto run_indexer
|
|
53
|
+
|
|
54
|
+
mkdir "%BUILD_DIR%" >nul 2>nul
|
|
55
|
+
set LOCK_DIR=%BUILD_DIR%.lock
|
|
56
|
+
|
|
57
|
+
:wait_for_lock
|
|
58
|
+
mkdir "%LOCK_DIR%" >nul 2>nul
|
|
59
|
+
if errorlevel 1 (
|
|
60
|
+
if exist "%DLL%" goto run_indexer
|
|
61
|
+
timeout /t 1 /nobreak >nul
|
|
62
|
+
goto wait_for_lock
|
|
63
|
+
)
|
|
64
|
+
|
|
65
|
+
if not exist "%DLL%" (
|
|
66
|
+
echo Building CSharpIndexer for %TFM% in %BUILD_DIR% 1>&2
|
|
67
|
+
dotnet publish "%ROOT_DIR%\CSharpIndexer.csproj" ^
|
|
68
|
+
-c Release ^
|
|
69
|
+
-f "%TFM%" ^
|
|
70
|
+
-o "%BUILD_DIR%" ^
|
|
71
|
+
"/p:TargetFrameworks=%TFM%" ^
|
|
72
|
+
"/p:BaseIntermediateOutputPath=%INTERMEDIATE_DIR%" ^
|
|
73
|
+
"/p:MSBuildProjectExtensionsPath=%INTERMEDIATE_DIR%" ^
|
|
74
|
+
"/p:BaseOutputPath=%BASE_OUTPUT_DIR%" ^
|
|
75
|
+
--nologo 1>&2
|
|
76
|
+
set PUBLISH_CODE=%ERRORLEVEL%
|
|
77
|
+
rmdir "%LOCK_DIR%" >nul 2>nul
|
|
78
|
+
if not "%PUBLISH_CODE%"=="0" exit /b %PUBLISH_CODE%
|
|
79
|
+
) else (
|
|
80
|
+
rmdir "%LOCK_DIR%" >nul 2>nul
|
|
81
|
+
)
|
|
82
|
+
|
|
83
|
+
:run_indexer
|
|
84
|
+
dotnet "%DLL%" %*
|
|
85
|
+
exit /b %ERRORLEVEL%
|