-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add package lock version * Require language version in recipe * Add build extension utils project * Make the version number an optional thing * Update to use static regex * Add ability to discover dotnet sdk runtime version * Add version to extension store Co-authored-by: Matthew Asplund <[email protected]>
- Loading branch information
Showing
93 changed files
with
1,474 additions
and
643 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ Install the latest `json11` package and register it in the MyProject Recipe file | |
soup install MyProject/ json11 | ||
``` | ||
|
||
Install version `1.0.1` of the `json11` package and register it in the current folder Recipe file. | ||
Install version `1.0.2` of the `json11` package and register it in the current folder Recipe file. | ||
``` | ||
soup install [email protected].1 | ||
soup install [email protected].2 | ||
``` |
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 |
---|---|---|
|
@@ -7,17 +7,17 @@ This is a console application that has a custom build extension that alters the | |
The Recipe file that defines the build extension dynamic library "Samples.BuildExtension.Extension" that will register new build tasks. | ||
``` | ||
Name = "Samples.CSharp.BuildExtension.Extension" | ||
Language = "C#" | ||
Language = "C#|0.1" | ||
Version = "1.0.0" | ||
Source = [ | ||
"CustomBuildTask.cs" | ||
] | ||
[Dependencies] | ||
Runtime = [ | ||
{ Reference = "[email protected].3", ExcludeRuntime = true }, | ||
{ Reference = "[email protected].4", ExcludeRuntime = true }, | ||
{ Reference = "[email protected]" }, | ||
{ Reference = "[email protected].1" }, | ||
{ Reference = "[email protected].3" }, | ||
] | ||
``` | ||
|
||
|
@@ -82,7 +82,7 @@ namespace Samples.CSharp.BuildExtension.Extension | |
The Recipe file that defines the executable "BuildExtension.Executable". The one interesting part is the relative path reference to the custom build extension through "Build" Dependencies. | ||
``` | ||
Name = "Samples.CSharp.BuildExtension.Executable" | ||
Language = "C#" | ||
Language = "C#|0.1" | ||
Type = "Executable" | ||
Version = "1.0.1" | ||
Source = [ | ||
|
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 |
---|---|---|
|
@@ -7,17 +7,17 @@ This is a console application that has a custom build extension that alters the | |
The Recipe file that defines the build extension dynamic library "Samples.Cpp.BuildExtension.Extension" that will register new build tasks. | ||
``` | ||
Name = "Samples.Cpp.BuildExtension.Extension" | ||
Language = "C#" | ||
Language = "C#|0.1" | ||
Version = "1.0.0" | ||
Source = [ | ||
"CustomBuildTask.cs" | ||
] | ||
[Dependencies] | ||
Runtime = [ | ||
{ Reference = "[email protected].3", ExcludeRuntime = true }, | ||
{ Reference = "[email protected].4", ExcludeRuntime = true }, | ||
{ Reference = "[email protected]" }, | ||
{ Reference = "[email protected].1" }, | ||
{ Reference = "[email protected].3" }, | ||
] | ||
``` | ||
|
||
|
@@ -82,7 +82,7 @@ namespace Samples.Cpp.BuildExtension.Extension | |
The Recipe file that defines the executable "Samples.Cpp.BuildExtension.Executable". The one interesting part is the relative path reference to the custom build extension through "Build" Dependencies. | ||
``` | ||
Name = "Samples.Cpp.BuildExtension.Executable" | ||
Language = "C++" | ||
Language = "C++|0.1" | ||
Type = "Executable" | ||
Version = "1.0.1" | ||
Source = [ | ||
|
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 |
---|---|---|
|
@@ -7,7 +7,7 @@ A console application that reads in a json file using the an external module and | |
The Recipe file that sets the standard name, type, version, as well as the single external dependency of the [json11](https://github.com/dropbox/json11) project. | ||
``` | ||
Name = "Samples.Cpp.ParseJsonFile" | ||
Language = "C++" | ||
Language = "C++|0.1" | ||
Version = "1.0.0" | ||
Type = "Executable" | ||
Source = [ | ||
|
@@ -16,7 +16,7 @@ Source = [ | |
[Dependencies] | ||
Runtime = [ | ||
"[email protected].1", | ||
"[email protected].2", | ||
] | ||
``` | ||
|
||
|
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,30 @@ | ||
[Closures] | ||
[RootClosure] | ||
"C++" = [ | ||
{ Name = "Soup", Version = "./" }, | ||
{ Name = "Soup.Core", Version = "../Core/" }, | ||
{ Name = "json11", Version = "1.0.1" }, | ||
{ Name = "Opal", Version = "0.3.1" }, | ||
{ Name = "toml11", Version = "1.0.1" }, | ||
{ Name = "Monitor.Host", Version = "../../Monitor/Host/" }, | ||
{ Name = "Detours", Version = "4.0.2" }, | ||
{ Name = "Monitor.Shared", Version = "../../../Monitor/Shared/" }, | ||
{ Name = "CryptoPP", Version = "1.0.1" }, | ||
{ Name = "Soup.Test.Assert", Version = "0.1.8" }, | ||
{ Name = "copy", Version = "../../Tools/Copy/" }, | ||
{ Name = "mkdir", Version = "../../Tools/Mkdir/" }, | ||
] | ||
|
||
[BuildClosure_1] | ||
"C#" = [ | ||
{ Name = "Soup.Test.Cpp", Version = "0.2.0" }, | ||
{ Name = "Opal", Version = "1.0.2" }, | ||
{ Name = "Soup.Build", Version = "0.1.3" }, | ||
{ Name = "Soup.Build.Extensions", Version = "0.2.0" }, | ||
{ Name = "Soup.Cpp.Compiler", Version = "0.3.0" }, | ||
{ Name = "Soup.Cpp.Compiler.MSVC", Version = "0.3.0" }, | ||
{ Name = "Soup.Cpp", Version = "0.2.0" }, | ||
{ Name = "Soup.CSharp", Version = "0.4.0" }, | ||
{ Name = "Soup.CSharp.Compiler", Version = "0.4.0" }, | ||
{ Name = "Soup.CSharp.Compiler.Roslyn", Version = "0.4.0" }, | ||
] |
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 |
---|---|---|
@@ -1,8 +1,9 @@ | ||
Version = 1 | ||
[Projects] | ||
"C#" = [ | ||
{ Name = "Samples.CSharp.BuildExtension.Executable", Version = "C:/Users/mwasp/source/repos/Soup/Samples/CSharp/BuildExtension/Executable" }, | ||
{ Name = "Samples.CSharp.BuildExtension.Extension", Version = "C:/Users/mwasp/source/repos/Soup/Samples/CSharp/BuildExtension/Extension/" }, | ||
{ Name = "Soup.Build", Version = "Soup.Build@0.1.3" }, | ||
{ Name = "Soup.Build.Extensions", Version = "[email protected]" }, | ||
{ Name = "Opal", Version = "Opal@1.0.1" }, | ||
{ Name = "Samples.CSharp.BuildExtension.Executable", Version = "../Executable" }, | ||
{ Name = "Samples.CSharp.BuildExtension.Extension", Version = "../Extension/" }, | ||
{ Name = "Soup.Build", Version = "0.1.4" }, | ||
{ Name = "Soup.Build.Extensions", Version = "0.2.0" }, | ||
{ Name = "Opal", Version = "1.0.2" }, | ||
] |
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 |
---|---|---|
@@ -1,13 +1,13 @@ | ||
Name = "Samples.CSharp.BuildExtension.Extension" | ||
Language = "C#" | ||
Language = "C#|0.1" | ||
Version = "1.0.0" | ||
Source = [ | ||
"CustomBuildTask.cs" | ||
] | ||
|
||
[Dependencies] | ||
Runtime = [ | ||
{ Reference = "[email protected].3", ExcludeRuntime = true }, | ||
{ Reference = "Soup.Build.Extensions@0.1.8" }, | ||
{ Reference = "[email protected].1" }, | ||
{ Reference = "[email protected].4", ExcludeRuntime = true }, | ||
{ Reference = "Soup.Build.Extensions@0.2.0" }, | ||
{ Reference = "[email protected].3" }, | ||
] |
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 |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
] | ||
"C#" = [ | ||
{ Name = "Samples.Cpp.BuildExtension.Extension", Version = "C:/Users/mwasp/source/repos/Soup/Samples/Cpp/BuildExtension/Extension/" }, | ||
{ Name = "Soup.Build", Version = "[email protected].3" }, | ||
{ Name = "Soup.Build.Extensions", Version = "Soup.Build.Extensions@0.1.8" }, | ||
{ Name = "Opal", Version = "[email protected].1" }, | ||
{ Name = "Soup.Build", Version = "[email protected].4" }, | ||
{ Name = "Soup.Build.Extensions", Version = "Soup.Build.Extensions@0.2.0" }, | ||
{ Name = "Opal", Version = "[email protected].3" }, | ||
] |
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 |
---|---|---|
@@ -1,13 +1,13 @@ | ||
Name = "Samples.Cpp.BuildExtension.Extension" | ||
Language = "C#" | ||
Language = "C#|0.1" | ||
Version = "1.0.0" | ||
Source = [ | ||
"CustomBuildTask.cs" | ||
] | ||
|
||
[Dependencies] | ||
Runtime = [ | ||
{ Reference = "[email protected].3", ExcludeRuntime = true }, | ||
{ Reference = "[email protected].4", ExcludeRuntime = true }, | ||
{ Reference = "[email protected]" }, | ||
{ Reference = "[email protected].1" }, | ||
{ Reference = "[email protected].3" }, | ||
] |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Name = "Samples.Cpp.DynamicLibrary.Library" | ||
Language = "C++" | ||
Language = "C++|0.1" | ||
Version = "1.0.0" | ||
Interface = "Module.cpp" | ||
Type = "DynamicLibrary" |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[Projects] | ||
"C++" = [ | ||
{ Name = "Samples.Cpp.ParseJsonFile", Version = "C:/Users/mwasp/source/repos/Soup/Samples/Cpp/ParseJsonFile" }, | ||
{ Name = "json11", Version = "[email protected].1" }, | ||
{ Name = "json11", Version = "[email protected].2" }, | ||
] |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Name = "Samples.Cpp.ParseJsonFile" | ||
Language = "C++" | ||
Language = "C++|0.1" | ||
Version = "1.0.0" | ||
Type = "Executable" | ||
Source = [ | ||
|
@@ -8,5 +8,5 @@ Source = [ | |
|
||
[Dependencies] | ||
Runtime = [ | ||
"[email protected].1", | ||
"[email protected].2", | ||
] |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Name = "Samples.Cpp.StaticLibrary.Library" | ||
Language = "C++" | ||
Language = "C++|0.1" | ||
Version = "1.0.0" | ||
Interface = "Module.cpp" | ||
Type = "StaticLibrary" |
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
Oops, something went wrong.