This file contains hidden or 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
# the nuget.config is needed to get nightly feeds, since the 'nightly' container is also using rc2 builds of sdk/runtime ahead of release | |
# the docker socket and docker binary are needed to light up the SDK tooling | |
# the nightly base image is needed because the -aot SDK images are only present there | |
# the explicit ContainerBaseImage is because SDK base image inference doesn't know about the 'nightly' feeds pattern | |
docker run --rm -it \ | |
-v $(pwd):/source \ | |
-v $(pwd)/../../nuget.config:/source/nuget.config \ | |
-v /var/run/docker.sock:/var/run/docker.sock \ | |
-v /usr/bin/docker:/usr/bin/docker \ | |
-w /source \ |
This file contains hidden or 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
module CliFlag | |
open System | |
open System.CommandLine | |
open System.CommandLine.Parsing | |
type CliFlag<'t> = | |
inherit CliOption<'t> | |
val private enabledFlagName: string | |
val private disabledFlagName: string |
This file contains hidden or 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
{ | |
"background": "#FFEAF1", | |
"black": "#666666", | |
"blue": "#B39FD6", | |
"brightBlack": "#000000", | |
"brightBlue": "#8966D6", | |
"brightCyan": "#3CB4EB", | |
"brightGreen": "#85D468", | |
"brightPurple": "#DF81CB", | |
"brightRed": "#F02070", |
This file contains hidden or 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
using System.CommandLine; | |
using System.CommandLine.Builder; | |
using System.CommandLine.Parsing; | |
namespace scl | |
{ | |
public static class Usage | |
{ | |
public struct CmdArgs |
This file contains hidden or 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
<Project> | |
<!-- This is a very simple version of what we'd actually want. We actually would need to: | |
* get the target RID | |
* get the OS portion of the RID graph _only_, no versions, no architectures | |
* walk that graph in most-specific to least-specific order, including the first (most specific) items that match the expected pattern along the way | |
NOTE: .NET SDK Default Glob Include patterns wreck this entire feature --> | |
<Target Name="ExpandRIDCompileItems" DependsOnTargets="AddImplicitDefineConstants" BeforeTargets="CoreCompile"> | |
<PropertyGroup> | |
<RidDefines Condition="'$(RuntimeIdentifier)' != ''">$(RuntimeIdentifier.Split('-')[0])</RidDefines> |
This file contains hidden or 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
@registry = registry-1.docker.io | |
@authEndpoint = auth.docker.io | |
@authService = registry.docker.io | |
@repo = library/ubuntu | |
@tag = jammy | |
# @name authenticate | |
GET https://{{authEndpoint}}/token?service={{authService}}&scope=repository:{{repo}}:pull | |
### |
This file contains hidden or 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
2T soy sauce | |
2T Hoison sauce | |
2T Dry sherry | |
1T light brown sugar | |
1T peanut oil | |
1 1/2 tsp honey | |
1/2 tsp garlic salt | |
1/2 tsp ground cinnamon | |
1 lb pork tenderloin |
This file contains hidden or 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
<?xml version="1.0" encoding="utf-16"?> | |
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" InitialTargets="ValidateSolutionConfiguration;ValidateToolsVersions;ValidateProjects" DefaultTargets="Build"> | |
<PropertyGroup> | |
<MSBuildFileVersion>17.6.0.18004</MSBuildFileVersion> | |
<MSBuildSemanticVersion>17.6.0+61dd65684</MSBuildSemanticVersion> | |
<RoslynTargetsPath>C:\Program Files\dotnet\sdk\7.0.303\Roslyn</RoslynTargetsPath> | |
<VisualStudioVersion>17.0</VisualStudioVersion> | |
<_DirectorySolutionPropsFile>Directory.Solution.props</_DirectorySolutionPropsFile> | |
<_DirectorySolutionPropsBasePath /> | |
<Configuration>Debug</Configuration> |
This file contains hidden or 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
<Project> | |
<PropertyGroup> | |
<!-- We have to build Publish AND PublishContainer because PublishContainer (and other | |
PublishProfile-delivered targets) don't have an explicit Publish dependency. --> | |
<_RequiredContainerPublishTargets>Publish;PublishContainer</_RequiredContainerPublishTargets> | |
</PropertyGroup> | |
<!-- Entrypoint, either from solution-level `/t:Containerize` or project-level `/t:Containerize` --> | |
<Target Name="Containerize" Condition="'$(EnableSdkContainerSupport)' == 'true'"> | |
<!-- Strategy here is that we will figure out what proejct(s) to build the containerization targets(s) for |
This file contains hidden or 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
<Project> | |
<!-- Targets that replicate the behavior of the azure functions isolated dockerfile using the | |
SDK container tech --> | |
<Target Name="EnsureValidFunctionsTFM"> | |
<PropertyGroup> | |
<_MinimumSupportedFunctionsTFM>6.0</_MinimumSupportedFunctionsTFM> | |
<_MaximumSupportedFunctionsTFM>8.0</_MaximumSupportedFunctionsTFM> | |
</PropertyGroup> |