Skip to content

Commit be79f09

Browse files
authored
os2rc7
1 parent fa8cbcc commit be79f09

File tree

4 files changed

+15
-20
lines changed

4 files changed

+15
-20
lines changed

TestApp/TestApp.csproj

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,12 @@
99
<OutputType>Exe</OutputType>
1010
</PropertyGroup>
1111

12-
<ItemGroup>
13-
<Folder Include="Properties" />
14-
</ItemGroup>
15-
1612
<ItemGroup>
1713
<ProjectReference Include="..\oscript-sql\oscript-sql.csproj" />
1814
</ItemGroup>
1915

2016
<ItemGroup>
21-
<PackageReference Include="OneScript.Hosting" Version="2.0.0-rc4" />
17+
<PackageReference Include="OneScript.Hosting" Version="2.0.0-rc.7" />
2218
</ItemGroup>
2319

2420
</Project>

appveyor.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: 1.3.1-{build}
1+
version: 1.3.2-{build}
22
image: Visual Studio 2022
33
environment:
44
main_project: oscript-sql
@@ -15,7 +15,7 @@ install:
1515
1616
cd os2
1717
18-
appveyor DownloadFile https://oscript.io/downloads/night-build/x64/fdd -FileName fdd.zip
18+
appveyor DownloadFile https://oscript.io/downloads/preview/OneScript-2.0.0-rc.7-fdd-x64.zip -FileName fdd.zip
1919
2020
7z x fdd.zip > NUL
2121
@@ -50,6 +50,7 @@ build:
5050
verbosity: minimal
5151
configuration: Release
5252
test_script:
53+
- cmd: dotnet nuget locals all --clear
5354
- cmd: >-
5455
set OSLIB_LOADER_TRACE=1
5556
@@ -61,20 +62,21 @@ test_script:
6162
os1\bin\oscript.exe testcomponent.os
6263
6364
after_build:
65+
- ps: dotnet publish --no-build --configuration $env:Configuration
6466
- cmd: >-
6567
66-
dotnet publish %main_project%
68+
set BUILDDIR=%main_project%\bin\%CONFIGURATION%\net6.0\publish
6769
68-
cd %main_project%\bin\%CONFIGURATION%\net6.0\publish
70+
mkdir oslib\Components\dotnet
6971
70-
del ScriptEngine*.dll NewtonSoft*.dll DotNetZip*.dll OneScript*.dll *.pdb
72+
OneScriptDocumenter.exe json oslib\Components\dotnet\syntaxHelp.json %BUILDDIR%\1script_%main_project%.dll
7173
72-
cd ..\..\..\..\..
74+
del /F /Q %BUILDDIR%\ScriptEngine*.* %BUILDDIR%\NewtonSoft*.* %BUILDDIR%\DotNetZip*.*
7375
74-
xcopy /E %main_project%\bin\%CONFIGURATION%\net6.0\publish\* oslib\Components\dotnet\
76+
xcopy /E %BUILDDIR%\* oslib\Components\dotnet\
7577
7678
cd oslib
77-
79+
7880
..\os2\bin\oscript.bat ..\os2\lib\opm\src\cmd\opm.os build .
7981
8082
for %%X in (*.ospx) do (..\os2\bin\oscript.bat ..\os2\lib\opm\src\cmd\opm.os install -f %%X )

oscript-sql/oscript-sql.csproj

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,10 @@
1111
<ItemGroup>
1212
<PackageReference Include="MySql.Data" Version="8.0.24" />
1313
<PackageReference Include="Npgsql" Version="8.0.3" />
14-
<PackageReference Include="OneScript" Version="2.0.0-rc4" />
15-
<PackageReference Include="OneScript.CoreLib" Version="2.0.0-rc4" />
16-
<PackageReference Include="OneScript.StandardLibrary" Version="2.0.0-rc4" />
14+
<PackageReference Include="OneScript" Version="2.0.0-rc.7" />
15+
<PackageReference Include="OneScript.CoreLib" Version="2.0.0-rc.7" />
16+
<PackageReference Include="OneScript.StandardLibrary" Version="2.0.0-rc.7" />
1717
<PackageReference Include="System.Data.SqlClient" Version="4.8.6" />
1818
<PackageReference Include="System.Data.SQLite.Core" Version="1.0.118" />
1919
</ItemGroup>
20-
<ItemGroup>
21-
<Folder Include="Properties\" />
22-
</ItemGroup>
2320
</Project>

oslib/packagedef

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
Описание.Имя("sql")
3-
.Версия("1.3.1.1")
3+
.Версия("1.3.2")
44
.ВключитьФайл("Components")
55
.ВключитьФайл("docs")
66
.ВключитьФайл("tests")

0 commit comments

Comments
 (0)