This repository has been archived by the owner on Jan 24, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
235 additions
and
222 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 |
---|---|---|
@@ -1,79 +1,63 @@ | ||
{ | ||
"version": "0.1.0", | ||
"command": "cmd", | ||
"isShellCommand": true, | ||
"args": [ | ||
"/C" | ||
], | ||
"options": { | ||
"cwd": "${workspaceRoot}/src/ui" | ||
}, | ||
"showOutput": "always", | ||
"suppressTaskName": true, | ||
"tasks": [ | ||
{ | ||
"taskName": "dev build", | ||
"command": "cmd", | ||
"isShellCommand": true, | ||
"args": [ | ||
"/C", | ||
"dotnet", | ||
"build", | ||
"${workspaceRoot}/src/server/project.json" | ||
"${workspaceRoot}/src/server/server.csproj" | ||
], | ||
"isBuildCommand": false, | ||
"problemMatcher": "$msCompile" | ||
}, | ||
{ | ||
"taskName": "test", | ||
"command": "cmd", | ||
"isShellCommand": true, | ||
"args": [ | ||
"/C", | ||
"dotnet", | ||
"test", | ||
"${workspaceRoot}/test/common.tests" | ||
"${workspaceRoot}/test/test-common/test-common.csproj" | ||
], | ||
"isTestCommand": true, | ||
"problemMatcher": "$msCompile" | ||
}, | ||
{ | ||
"taskName": "dev build ui", | ||
"command": "webpack", | ||
"isShellCommand": true, | ||
"args": [ | ||
"webpack", | ||
"-p", | ||
"--config", | ||
"webpack/development.js" | ||
], | ||
"showOutput": "always", | ||
"options": { | ||
"cwd": "${workspaceRoot}/src/ui" | ||
}, | ||
"isBuildCommand": true | ||
}, | ||
{ | ||
"taskName": "publish", | ||
"command": "cmd", | ||
"isShellCommand": true, | ||
"args": [ | ||
"dotnet", | ||
"publish", | ||
"${workspaceRoot}/src/server/project.json", | ||
"-o", | ||
"${workspaceRoot}/dist", | ||
"--configuration", | ||
"release" | ||
"/C", | ||
"powershell", | ||
"Set-ExecutionPolicy -ExecutionPolicy Bypass", | ||
"|", | ||
"powershell", | ||
"${workspaceRoot}/build/production.ps1" | ||
], | ||
"isBuildCommand": false, | ||
"problemMatcher": "$msCompile" | ||
}, | ||
{ | ||
"taskName": "publish ui", | ||
"args": [ | ||
"webpack", | ||
"-p", | ||
"--config", | ||
"webpack/production.js" | ||
], | ||
"isBuildCommand": true | ||
}, | ||
{ | ||
"taskName": "watch", | ||
"args": [ | ||
"node", | ||
"node_modules/webpack-build/lib/bin/webpack-build.js", | ||
"--c", | ||
"./webpack/watch.js", | ||
"--watch" | ||
] | ||
"options": { | ||
"cwd": "${workspaceRoot}/src/ui" | ||
}, | ||
"isBuildCommand": false | ||
} | ||
] | ||
} |
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,6 @@ | ||
Push-Location ../server | ||
dotnet publish server.csproj -f netcoreapp1.1 -o ../../dist --configuration Release | ||
Pop-Location | ||
Push-Location ../ui | ||
webpack -p --config webpack/production.js | ||
Pop-Location |
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,20 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>netstandard1.6</TargetFramework> | ||
<DebugType>portable</DebugType> | ||
<AssemblyName>Toucan.Common</AssemblyName> | ||
<PackageId>common</PackageId> | ||
<NetStandardImplicitPackageVersion>1.6.1</NetStandardImplicitPackageVersion> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\contract\contract.csproj" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.AspNetCore.Cryptography.KeyDerivation" Version="1.1.1" /> | ||
<PackageReference Include="StructureMap.Microsoft.DependencyInjection" Version="1.2.0" /> | ||
</ItemGroup> | ||
|
||
</Project> |
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,15 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>netstandard1.6</TargetFramework> | ||
<DebugType>portable</DebugType> | ||
<AssemblyName>Toucan.Contract</AssemblyName> | ||
<PackageId>contract</PackageId> | ||
<NetStandardImplicitPackageVersion>1.6.1</NetStandardImplicitPackageVersion> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="System.Security.Claims" Version="4.3.0" /> | ||
</ItemGroup> | ||
|
||
</Project> |
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,33 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>netstandard1.6</TargetFramework> | ||
<DebugType>portable</DebugType> | ||
<AssemblyName>Toucan.Data</AssemblyName> | ||
<PackageId>data</PackageId> | ||
<NetStandardImplicitPackageVersion>1.6.1</NetStandardImplicitPackageVersion> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\common\common.csproj" /> | ||
<ProjectReference Include="..\contract\contract.csproj" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="1.1.1" /> | ||
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="1.1.1" /> | ||
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="1.1.0"> | ||
<PrivateAssets>All</PrivateAssets> | ||
</PackageReference> | ||
<PackageReference Include="Microsoft.Extensions.Configuration" Version="1.1.1" /> | ||
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="1.1.1" /> | ||
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="1.1.0" /> | ||
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL.Design" Version="1.1.0" /> | ||
<PackageReference Include="StructureMap.Microsoft.DependencyInjection" Version="1.2.0" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<DotNetCliToolReference Include="Microsoft.EntityFrameworkCore.Tools.DotNet" Version="1.0.0" /> | ||
</ItemGroup> | ||
|
||
</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 was deleted.
Oops, something went wrong.
Oops, something went wrong.