-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move MSBuildTask and TSGenerator to Nuget to simplify first compile
- Loading branch information
jbu
committed
Nov 29, 2018
1 parent
79aea92
commit bedc53e
Showing
13 changed files
with
80 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0"?> | ||
<package > | ||
<metadata> | ||
<id>Signum.MSBuildTask</id> | ||
<version>1.0.0</version> | ||
<title>IL rewriter for Signum Framework applications</title> | ||
<authors>Olmo del Corral</authors> | ||
<licenseUrl>https://opensource.org/licenses/MIT</licenseUrl> | ||
<projectUrl>http://www.signumframework.com</projectUrl> | ||
<iconUrl>http://www.signumsoftware.com/Images/Framework/LogoFramework.png</iconUrl> | ||
<requireLicenseAcceptance>false</requireLicenseAcceptance> | ||
<description>IL Weaver for Signum Framework applications (auto-properties in entities, [AutoInit] and [ExpressionField])</description> | ||
<copyright>Copyright 2018</copyright> | ||
<tags>signum msbuild linq react</tags> | ||
</metadata> | ||
<files> | ||
<file src="bin\**\*.*" target="lib" exclude="bin\**\*.*" /> | ||
<file src=".\bin\$configuration$\netcoreapp2.1\*.dll" target="build" /> | ||
<file src=".\bin\$configuration$\netcoreapp2.1\*.json" target="build" /> | ||
<file src="Signum.MSBuildTask.targets" target="build" /> | ||
</files> | ||
</package> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<Target Name="SignumAfterCompile" AfterTargets="AfterCompile" Outputs="$(TargetPath)"> | ||
<WriteLinesToFile File="$(BaseIntermediateOutputPath)SignumReferences.txt" Lines="@(ReferencePath)" Overwrite="true" Encoding="Unicode" /> | ||
<Exec command="dotnet "$(MSBuildThisFileDirectory)\Signum.MSBuildTask.dll" "@(IntermediateAssembly)" "$(BaseIntermediateOutputPath)SignumReferences.txt"" ConsoleToMSBuild="false"> | ||
<Output TaskParameter="ConsoleOutput" PropertyName="OutputOfExec" /> | ||
</Exec> | ||
</Target> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0"?> | ||
<package > | ||
<metadata> | ||
<id>$id$</id> | ||
<version>$version$</version> | ||
<title>Typescript generator for Signum Framework applications</title> | ||
<authors>Olmo del Corral</authors> | ||
<licenseUrl>https://opensource.org/licenses/MIT</licenseUrl> | ||
<projectUrl>http://www.signumframework.com</projectUrl> | ||
<iconUrl>http://www.signumsoftware.com/Images/Framework/LogoFramework.png</iconUrl> | ||
<requireLicenseAcceptance>false</requireLicenseAcceptance> | ||
<description>For every SomeEntitiesNamespace.t4s files in your React project generates a SomeEntitiesNamespace.ts with defined Entities, Queries, Messages, Operations, etc..</description> | ||
<copyright>Copyright 2018</copyright> | ||
<tags>signum msbuild linq react</tags> | ||
</metadata> | ||
<files> | ||
<file src="bin\**\*.*" target="lib" exclude="bin\**\*.*" /> | ||
<file src=".\bin\$configuration$\netcoreapp2.1\*.dll" target="build" /> | ||
<file src=".\bin\$configuration$\netcoreapp2.1\*.json" target="build" /> | ||
<file src="Signum.TSGenerator.targets" target="build" /> | ||
</files> | ||
</package> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<Target Name="GenerateSignumTS"> | ||
<WriteLinesToFile File="$(BaseIntermediateOutputPath)SignumReferences.txt" Lines="@(ReferencePath)" Overwrite="true" Encoding="Unicode" /> | ||
<WriteLinesToFile File="$(BaseIntermediateOutputPath)SignumContent.txt" Lines="@(Content);@(None)" Overwrite="true" Encoding="Unicode" /> | ||
<Exec command="dotnet "$(MSBuildThisFileDirectory)\Signum.TSGenerator.dll" "@(IntermediateAssembly)" "$(BaseIntermediateOutputPath)SignumReferences.txt" "$(BaseIntermediateOutputPath)SignumContent.txt"" ConsoleToMSBuild="false"> | ||
<Output TaskParameter="ConsoleOutput" PropertyName="OutputOfExec" /> | ||
</Exec> | ||
</Target> | ||
|
||
<PropertyGroup> | ||
<CompileTypeScriptDependsOn> | ||
GenerateSignumTS; | ||
$(CompileTypeScriptDependsOn); | ||
</CompileTypeScriptDependsOn> | ||
<ApplicationIcon /> | ||
</PropertyGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bedc53e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Signum MSBuildTask and TSGenerator as Nuget
After this change (and a few fixes after) MSBuildTask and TSGenerator are now distributed as Nuget. They are still part of this repository but should not be used directly.
1.- Clean Initial Build: The main benefit is having a clean build without
dotnet .... returned -1
errors (as in .Net Core till now), but also not having dll blocked as suspicious when Creating a new application (as in was with .Net Framework version).2.- Simplification: Now the Tooling folder can be removed from the solution, also the csproj files are simpler, since most of the Signum Magic is inside of the Nuget 🎉
3.- Official Icons: The new nuget, and Signum.Analyzer, have been updated to have proper icons. Signum 4 Live!
As usual, you can take a look at Southwind to keep up to date. Just check this commit: signumsoftware/southwind@c451f46
Enjoy!
bedc53e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfect
bedc53e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BTW: If you're interested in the extension that i use, it's called BuildVision