Skip to content

Commit

Permalink
feat(vnext): add build script
Browse files Browse the repository at this point in the history
Modify build.ps1 to use InvokeBuild and add github actions workflow.
  • Loading branch information
wekempf committed Oct 1, 2023
1 parent 8ed3872 commit f6e7496
Show file tree
Hide file tree
Showing 11 changed files with 551 additions and 177 deletions.
34 changes: 34 additions & 0 deletions .build_helper.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
function Verbose($Message) {
if ($env:GITHUB_ACTIONS) {
Write-Output "::debug::$Message"
}
else {
Write-Verbose $Message
}
}

function Section([System.ConsoleColor]$ForegroundColor, $Message) {
Write-Build $ForegroundColor "$Message $('-' * (80 - $Message.Length))"
}

function Info($Message) {
Write-Build Cyan $Message
}

function Warning($Message) {
if ($env:GITHUB_ACTIONS) {
Write-Output "::warning::$Message"
}
else {
Write-Build Yellow $Message
}
}

function Error($Message) {
if ($env:GITHUB_ACTIONS) {
Write-Output "::error::$Message"
}
else {
Write-Build Red $Message
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
82 changes: 82 additions & 0 deletions .buildartefacts/Testify.Assertions.deps.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v7.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v7.0": {
"Testify.Assertions/1.0.0": {
"dependencies": {
"Microsoft.VisualStudio.Validation": "17.6.11"
},
"runtime": {
"Testify.Assertions.dll": {}
}
},
"Microsoft.VisualStudio.Validation/17.6.11": {
"runtime": {
"lib/net6.0/Microsoft.VisualStudio.Validation.dll": {
"assemblyVersion": "17.6.0.0",
"fileVersion": "17.6.11.23530"
}
},
"resources": {
"lib/net6.0/cs/Microsoft.VisualStudio.Validation.resources.dll": {
"locale": "cs"
},
"lib/net6.0/de/Microsoft.VisualStudio.Validation.resources.dll": {
"locale": "de"
},
"lib/net6.0/es/Microsoft.VisualStudio.Validation.resources.dll": {
"locale": "es"
},
"lib/net6.0/fr/Microsoft.VisualStudio.Validation.resources.dll": {
"locale": "fr"
},
"lib/net6.0/it/Microsoft.VisualStudio.Validation.resources.dll": {
"locale": "it"
},
"lib/net6.0/ja/Microsoft.VisualStudio.Validation.resources.dll": {
"locale": "ja"
},
"lib/net6.0/ko/Microsoft.VisualStudio.Validation.resources.dll": {
"locale": "ko"
},
"lib/net6.0/pl/Microsoft.VisualStudio.Validation.resources.dll": {
"locale": "pl"
},
"lib/net6.0/pt-BR/Microsoft.VisualStudio.Validation.resources.dll": {
"locale": "pt-BR"
},
"lib/net6.0/ru/Microsoft.VisualStudio.Validation.resources.dll": {
"locale": "ru"
},
"lib/net6.0/tr/Microsoft.VisualStudio.Validation.resources.dll": {
"locale": "tr"
},
"lib/net6.0/zh-Hans/Microsoft.VisualStudio.Validation.resources.dll": {
"locale": "zh-Hans"
},
"lib/net6.0/zh-Hant/Microsoft.VisualStudio.Validation.resources.dll": {
"locale": "zh-Hant"
}
}
}
}
},
"libraries": {
"Testify.Assertions/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"Microsoft.VisualStudio.Validation/17.6.11": {
"type": "package",
"serviceable": true,
"sha512": "sha512-J+9L/iac6c8cwcgVSCMuoIYOlD1Jw4mbZ8XMe1IZVj8p8+3dJ46LnnkIkTRMjK7xs9UtU9MoUp1JGhWoN6fAEw==",
"path": "microsoft.visualstudio.validation/17.6.11",
"hashPath": "microsoft.visualstudio.validation.17.6.11.nupkg.sha512"
}
}
}
Binary file added .buildartefacts/Testify.Assertions.dll
Binary file not shown.
Loading

0 comments on commit f6e7496

Please sign in to comment.