-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ Organize sources into Blockmason.Link namespace
Also add CircleCI configuration
- Loading branch information
1 parent
630d11e
commit 0e5456a
Showing
14 changed files
with
79 additions
and
50 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
version: 2 | ||
|
||
defaults: &defaults | ||
working_directory: "/opt/dotnet/project" | ||
docker: | ||
- image: blockmason/dotnet:2.2 | ||
|
||
workflows: | ||
version: 2 | ||
default: | ||
jobs: | ||
- build-sources: | ||
requires: | ||
- initialize | ||
- build-tests: | ||
requires: | ||
- build-sources | ||
- initialize | ||
- test: | ||
requires: | ||
- build-tests | ||
|
||
jobs: | ||
initialize: | ||
<<: *defaults | ||
steps: | ||
- checkout | ||
- persist_to_workspace: | ||
root: /opt/dotnet | ||
paths: | ||
- project | ||
build-sources: | ||
<<: *defaults | ||
steps: | ||
- attach_workspace: | ||
at: /opt/dotnet | ||
- run: | ||
name: Building sources | ||
command: dotnet publish --configuration Release Link/Link.csproj | ||
- persist_to_workspace: | ||
root: /opt/dotnet | ||
paths: | ||
- project/Link/obj | ||
- project/Link/bin | ||
build-tests: | ||
<<: *defaults | ||
steps: | ||
- attach_workspace: | ||
at: /opt/dotnet | ||
- run: | ||
name: Building tests | ||
command: dotnet publish --configuration Release Link.Tests/Link.Tests.csproj | ||
- persist_to_workspace: | ||
root: /opt/dotnet | ||
paths: | ||
- project/Link.Tests/obj | ||
- project/Link.Tests/bin | ||
test: | ||
<<: *defaults | ||
steps: | ||
- attach_workspace: | ||
at: /opt/dotnet | ||
- run: | ||
name: Testing | ||
command: dotnet test --configuration Release Link.Tests/Link.Tests.csproj |
File renamed without changes.
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
2 changes: 1 addition & 1 deletion
2
Link.Tests/Project_HappyPath.cs → Blockmason.Link.Tests/Project_HappyPath.cs
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 @@ | ||
using Xunit; | ||
using Link; | ||
using Blockmason.Link; | ||
using System.Collections.Generic; | ||
|
||
namespace Link.UnitTests { | ||
|
File renamed without changes.
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,5 @@ | ||
# Generated by `dotnet build` | ||
/bin/ | ||
|
||
# Generated by `dotnet build` | ||
/obj/ |
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
Link/OAuth2/Credential.cs → Blockmason.Link/OAuth2/Credential.cs
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
2 changes: 1 addition & 1 deletion
2
Link/OAuth2/Grant/ClientCredentialsGrant.cs → ...nk/OAuth2/Grant/ClientCredentialsGrant.cs
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
2 changes: 1 addition & 1 deletion
2
Link/OAuth2/Grant/RefreshTokenGrant.cs → ...on.Link/OAuth2/Grant/RefreshTokenGrant.cs
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 was deleted.
Oops, something went wrong.