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.
#### 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.
Update the Name property in project.json as well, but use the `dotnet-{command}` syntax here.
Start by copying an existing command, like /src/dotnet-new.
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.
#### Add a Readme.md

View file

@ -15,25 +15,25 @@ param(
. $REPOROOT\scripts\package\projectsToPack.ps1
$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.ProjectModel.Loader",
"Microsoft.DotNet.ProjectModel.Server",
"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"
)

View file

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

View file

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

View file

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

View file

@ -8,7 +8,7 @@
"NETStandard.Library": "1.0.0-rc3-23727",
"Microsoft.DotNet.ProjectModel": "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.Extensions.CommandLineUtils.Sources": {
"type": "build",