build scripts and md

This commit is contained in:
piotrp 2016-01-27 22:17:14 -08:00 committed by PiotrP
parent 5e72c88104
commit 9a7cab4cda
6 changed files with 39 additions and 39 deletions

View file

@ -48,8 +48,8 @@ The dotnet CLI considers any executable on the path named `dotnet-{commandName}`
5. Add the project to the packaging scripts. 5. Add the project to the packaging scripts.
#### Add a new command project #### Add a new command project
Start by copying an existing command, like /src/Microsoft.DotNet.Tools.Init. Change the last part of the project name, .Init in this case, to the name of your command. Start by copying an existing command, like /src/dotnet-new.
Update the Name property in project.json as well, but use the `dotnet-{command}` syntax here. Update the Name property in project.json as well, and use the `dotnet-{command}` syntax here.
Make sure to use the System.CommandLine parser so behavior is consistant across commands. Make sure to use the System.CommandLine parser so behavior is consistant across commands.
#### Add a Readme.md #### Add a Readme.md

View file

@ -15,25 +15,25 @@ param(
. $REPOROOT\scripts\package\projectsToPack.ps1 . $REPOROOT\scripts\package\projectsToPack.ps1
$Projects = @( $Projects = @(
"Microsoft.DotNet.Cli", "dotnet",
"dotnet-build",
"dotnet-compile",
"dotnet-compile-csc",
"dotnet-compile-fsc",
"dotnet-compile-native",
"dotnet-new",
"dotnet-pack",
"dotnet-publish",
"dotnet-restore",
"dotnet-repl",
"dotnet-repl-csi",
"dotnet-resgen",
"dotnet-run",
"dotnet-test",
"Microsoft.DotNet.Cli.Utils", "Microsoft.DotNet.Cli.Utils",
"Microsoft.DotNet.ProjectModel.Loader", "Microsoft.DotNet.ProjectModel.Loader",
"Microsoft.DotNet.ProjectModel.Server", "Microsoft.DotNet.ProjectModel.Server",
"Microsoft.DotNet.ProjectModel.Workspaces", "Microsoft.DotNet.ProjectModel.Workspaces",
"Microsoft.DotNet.Tools.Builder",
"Microsoft.DotNet.Tools.Compiler",
"Microsoft.DotNet.Tools.Compiler.Csc",
"Microsoft.DotNet.Tools.Compiler.Fsc",
"Microsoft.DotNet.Tools.Compiler.Native",
"Microsoft.DotNet.Tools.New",
"Microsoft.DotNet.Tools.Pack",
"Microsoft.DotNet.Tools.Publish",
"dotnet-restore",
"Microsoft.DotNet.Tools.Repl",
"Microsoft.DotNet.Tools.Repl.Csi",
"Microsoft.DotNet.Tools.Resgen",
"Microsoft.DotNet.Tools.Run",
"Microsoft.DotNet.Tools.Test",
"Microsoft.Extensions.Testing.Abstractions" "Microsoft.Extensions.Testing.Abstractions"
) )

View file

@ -24,22 +24,22 @@ source "$DIR/../common/_common.sh"
[ ! -z "$COMPILATION_OUTPUT_DIR" ] || die "Missing required environment variable COMPILATION_OUTPUT_DIR" [ ! -z "$COMPILATION_OUTPUT_DIR" ] || die "Missing required environment variable COMPILATION_OUTPUT_DIR"
PROJECTS=( \ PROJECTS=( \
Microsoft.DotNet.Cli \ dotnet \
Microsoft.DotNet.ProjectModel.Server \ dotnet-build \
Microsoft.DotNet.Tools.Builder \ dotnet-compile \
Microsoft.DotNet.Tools.Compiler \ dotnet-compile-csc \
Microsoft.DotNet.Tools.Compiler.Csc \ dotnet-compile-fsc \
Microsoft.DotNet.Tools.Compiler.Fsc \ dotnet-compile-native \
Microsoft.DotNet.Tools.Compiler.Native \ dotnet-new \
Microsoft.DotNet.Tools.New \ dotnet-pack \
Microsoft.DotNet.Tools.Pack \ dotnet-publish \
Microsoft.DotNet.Tools.Publish \ dotnet-repl \
Microsoft.DotNet.Tools.Repl \ dotnet-repl-csi \
Microsoft.DotNet.Tools.Repl.Csi \
dotnet-restore \ dotnet-restore \
Microsoft.DotNet.Tools.Resgen \ dotnet-resgen \
Microsoft.DotNet.Tools.Run \ dotnet-run \
Microsoft.DotNet.Tools.Test \ dotnet-test \
Microsoft.DotNet.ProjectModel.Server \
) )
BINARIES_FOR_COREHOST=( \ BINARIES_FOR_COREHOST=( \

View file

@ -12,9 +12,9 @@ $TestBinRoot = "$RepoRoot\artifacts\tests"
$TestProjects = @( $TestProjects = @(
"E2E", "E2E",
"StreamForwarderTests", "StreamForwarderTests",
"Microsoft.DotNet.Tools.Publish.Tests", "dotnet-publish.Tests",
"Microsoft.DotNet.Tools.Compiler.Tests", "dotnet-compile.Tests",
"Microsoft.DotNet.Tools.Builder.Tests" "dotnet-build.Tests"
) )
$TestScripts = @( $TestScripts = @(

View file

@ -22,9 +22,9 @@ TestBinRoot="$REPOROOT/artifacts/tests"
TestProjects=( \ TestProjects=( \
E2E \ E2E \
StreamForwarderTests \ StreamForwarderTests \
Microsoft.DotNet.Tools.Publish.Tests \ dotnet-publish.Tests \
Microsoft.DotNet.Tools.Compiler.Tests \ dotnet-compile.Tests \
Microsoft.DotNet.Tools.Builder.Tests \ dotnet-build.Tests \
) )
TestScripts=( \ TestScripts=( \

View file

@ -8,7 +8,7 @@
"NETStandard.Library": "1.0.0-rc3-23727", "NETStandard.Library": "1.0.0-rc3-23727",
"Microsoft.DotNet.ProjectModel": "1.0.0-*", "Microsoft.DotNet.ProjectModel": "1.0.0-*",
"Microsoft.DotNet.Compiler.Common": "1.0.0-*", "Microsoft.DotNet.Compiler.Common": "1.0.0-*",
"Microsoft.DotNet.Tools.Compiler": "1.0.0-*", "dotnet-compile": "1.0.0-*",
"Microsoft.DotNet.Cli.Utils": "1.0.0-*", "Microsoft.DotNet.Cli.Utils": "1.0.0-*",
"Microsoft.Extensions.CommandLineUtils.Sources": { "Microsoft.Extensions.CommandLineUtils.Sources": {
"type": "build", "type": "build",