Skip to content

Commit 24424d2

Browse files
committed
+vssbe managing
1 parent 67caf09 commit 24424d2

File tree

12 files changed

+1102
-3
lines changed

12 files changed

+1102
-3
lines changed

.gitattributes

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
2+
# Our batch files requires CRLF for correct work.
3+
# https://github.com/3F/hMSBuild/issues/2
4+
5+
*.bat text eol=crlf
6+
*.cmd text eol=crlf
7+
*.tpl text eol=crlf

.gnt/packages.config

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<packages>
3+
<package id="vsSBE.CI.MSBuild" version="1.6.12011" output="vsSBE.CI.MSBuild" />
4+
</packages>

.version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
1.14.0

.vssbe

Lines changed: 390 additions & 0 deletions
Large diffs are not rendered by default.

Readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ Extensible Modular Scripting Programming Language.
88

99
https://github.com/3F/SobaScript
1010

11-
[![Build status](https://ci.appveyor.com/api/projects/status/SobaScript.Mapper/branch/master?svg=true)](https://ci.appveyor.com/project/3Fs/SobaScript.Mapper/branch/master)
11+
[![Build status](https://ci.appveyor.com/api/projects/status/o4sjrrw3e4hy43wr/branch/master?svg=true)](https://ci.appveyor.com/project/3Fs/sobascript-mapper/branch/master)
1212
[![release-src](https://img.shields.io/github/release/3F/SobaScript.Mapper.svg)](https://github.com/3F/SobaScript.Mapper/releases/latest)
1313
[![License](https://img.shields.io/badge/License-MIT-74A5C2.svg)](https://github.com/3F/SobaScript.Mapper/blob/master/License.txt)
1414
[![NuGet package](https://img.shields.io/nuget/v/SobaScript.Mapper.svg)](https://www.nuget.org/packages/SobaScript.Mapper/)
1515
[![Tests](https://img.shields.io/appveyor/tests/3Fs/SobaScript.Mapper/master.svg)](https://ci.appveyor.com/project/3Fs/SobaScript.Mapper/build/tests)
1616

17-
[![Build history](https://buildstats.info/appveyor/chart/3Fs/SobaScript.Mapper?buildCount=20&includeBuildsFromPullRequest=true&showStats=true)](https://ci.appveyor.com/project/3Fs/SobaScript.Mapper/history)
17+
[![Build history](https://buildstats.info/appveyor/chart/3Fs/SobaScript.Mapper?buildCount=20&showStats=true)](https://ci.appveyor.com/project/3Fs/SobaScript.Mapper/history)
1818

1919
## License
2020

SobaScript.Mapper.sln

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Varhead", "SobaScript\E-MSB
3434
EndProject
3535
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LSender", "SobaScript\E-MSBuild\Varhead\LSender\LSender\LSender.csproj", "{09974DE1-98BF-4D9B-81EF-8F41E86861B8}"
3636
EndProject
37+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tools", "tools", "{7D1F1A61-611C-47D8-B042-E94C2176CEAA}"
38+
ProjectSection(SolutionItems) = preProject
39+
tools\gnt.bat = tools\gnt.bat
40+
tools\hMSBuild.bat = tools\hMSBuild.bat
41+
EndProjectSection
42+
EndProject
3743
Global
3844
GlobalSection(SolutionConfigurationPlatforms) = preSolution
3945
DBG_SDK10|Any CPU = DBG_SDK10|Any CPU

SobaScript.Mapper/MapperVersion.cs

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
// This code was generated by a vsSolutionBuildEvent.
2+
// Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
3+
namespace net.r_eg.SobaScript.Mapper
4+
{
5+
using System;
6+
7+
public struct MapperVersion
8+
{
9+
public static readonly Version number = new Version(S_NUM_REV);
10+
11+
public const string S_NUM = "1.14.0";
12+
public const string S_REV = "0";
13+
14+
public const string S_NUM_REV = S_NUM + "." + S_REV;
15+
16+
public const string B_SHA1 = "-";
17+
public const string B_NAME = "-";
18+
public const string B_REVC = "-";
19+
20+
internal const string S_INFO = S_NUM_REV + "+" + B_SHA1;
21+
internal const string S_INFO_FULL = S_INFO + ":" + B_NAME + "-" + B_REVC;
22+
}
23+
}

SobaScript.Mapper/SobaScript.Mapper.csproj

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<Version>0.0.1.0</Version>
4+
<Version>1.14.0</Version>
5+
<BuildInfoVSSBE></BuildInfoVSSBE>
56
<!-- <AssemblyVersion>0.0.1.0</AssemblyVersion> -->
67
<!-- <FileVersion>0.0.1.0</FileVersion> -->
78
</PropertyGroup>
@@ -17,8 +18,17 @@
1718
<Description>Mapper for SobaScript components and their nodes.
1819

1920
SobaScript -- Extensible Modular Scripting Programming Language.
21+
https://github.com/3F/SobaScript
2022

2123
https://github.com/3F/SobaScript.Mapper
24+
25+
=======================================
26+
gnt /p:ngpackages="SobaScript.Mapper/$(Version)"
27+
================== https://github.com/3F/GetNuTool
28+
29+
Build info:
30+
31+
$(BuildInfoVSSBE)
2232
</Description>
2333
<PackageOwners>reg</PackageOwners>
2434
<PackageProjectUrl>https://github.com/3F/SobaScript.Mapper</PackageProjectUrl>
@@ -51,6 +61,27 @@
5161
<Pack>True</Pack>
5262
<PackagePath></PackagePath>
5363
</None>
64+
<None Include="..\changelog.txt">
65+
<Pack>True</Pack>
66+
<PackagePath></PackagePath>
67+
</None>
68+
<None Include="..\.version">
69+
<Pack>True</Pack>
70+
<PackagePath></PackagePath>
71+
</None>
72+
</ItemGroup>
73+
74+
<ItemGroup>
75+
<None Include="..\tools\hMSBuild.bat">
76+
<Visible>false</Visible>
77+
<Pack>True</Pack>
78+
<PackagePath>tools\</PackagePath>
79+
</None>
80+
<None Include="..\tools\gnt.bat">
81+
<Visible>false</Visible>
82+
<Pack>True</Pack>
83+
<PackagePath>tools\</PackagePath>
84+
</None>
5485
</ItemGroup>
5586

5687
<ItemGroup>

build.bat

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
@echo off
2+
3+
REM # Version of used CI.MSBuild
4+
set cimdll=packages\vsSBE.CI.MSBuild\bin\CI.MSBuild.dll
5+
6+
set _msbuild=tools\hMSBuild -notamd64
7+
8+
REM # Verbosity level by default: q[uiet], m[inimal], n[ormal], d[etailed], and diag[nostic].
9+
set level=minimal
10+
11+
set _gnt=tools\gnt
12+
13+
:::: --------
14+
15+
set reltype=%~1
16+
17+
if "%reltype%"=="" (
18+
set "reltype=DCI"
19+
)
20+
21+
:::: --------
22+
23+
set __p_call=1
24+
25+
:: Activate vsSBE
26+
27+
call %_gnt% /p:ngpath="%cd%/packages" /p:ngconfig="%cd%/.gnt/packages.config" || goto err
28+
29+
:: Build
30+
set bnode=%_msbuild% SobaScript.Mapper.sln /m:4 /l:"%cimdll%" /p:Platform="Any CPU" /v:%level% /nologo
31+
32+
call %bnode% /p:Configuration=%reltype%_SDK15 /t:Rebuild || goto err
33+
34+
goto ok
35+
36+
:err
37+
38+
echo. Build failed. 1>&2
39+
exit /B 1
40+
41+
:ok
42+
exit /B 0

changelog.txt

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
SobaScript.Mapper - https://github.com/3F/SobaScript.Mapper
2+
_ _ _ _ _ _ _ _ _
3+
4+
5+
6+
[1.14] 2019.09.??
7+
8+
* First public release of the SobaScript.Mapper project.
9+
10+
Mapper for SobaScript components and their nodes.
11+
https://github.com/3F/SobaScript.Mapper
12+
13+
Previous changes can be found in:
14+
https://github.com/3F/vsSolutionBuildEvent
15+
16+
The number was based on latest changes for SBE-Scripts part from vsSolutionBuildEvent project.

0 commit comments

Comments
 (0)