Skip to content

Commit

Permalink
Merge pull request #18 from DevExpress-Examples/fix-minor-issues
Browse files Browse the repository at this point in the history
Fix minor issues
  • Loading branch information
AlisherAmonulloev authored Dec 16, 2024
2 parents ff90fca + 93de87e commit 1570375
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 25 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<!-- default badges list -->
![](https://img.shields.io/endpoint?url=https://codecentral.devexpress.com/api/v1/VersionRange/800447205/23.1.3%2B)
[![](https://img.shields.io/badge/Open_in_DevExpress_Support_Center-FF7200?style=flat-square&logo=DevExpress&logoColor=white)](https://supportcenter.devexpress.com/ticket/details/T1233410)
[![](https://img.shields.io/badge/📖_How_to_use_DevExpress_Examples-e9f6fc?style=flat-square)](https://docs.devexpress.com/GeneralInformation/403183)
[![](https://img.shields.io/badge/💬_Leave_Feedback-feecdd?style=flat-square)](#does-this-example-address-your-development-requirementsobjectives)
Expand Down
1 change: 0 additions & 1 deletion TEMP/README.md

This file was deleted.

23 changes: 0 additions & 23 deletions test-example.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -146,35 +146,12 @@ function Set-BuildVersion {
Write-Output "New List: $updatedList"
}

function Set-TestingFailed {
$TempDirectory = Join-Path -Path $env:WORKSPACE -ChildPath "TEMP"
if (-not (Test-Path -Path $TempDirectory)) {
Write-Output "`nCreating a temp directory at $TempDirectory"
New-Item -ItemType Directory -Path $TempDirectory | Out-Null
}

$ReadmeFile = Join-Path -Path $TempDirectory -ChildPath "README.md"

$Content = "Example testing failed: [Example testing failed](https://example-testing-failed.com/)"
Write-Output "`nWriting a file with invalid link to a temp directory at $TempDirectory"
Set-Content -Path $ReadmeFile -Value $Content
}

Write-Output "`nBranch Name: $env:branchName"

Set-BuildVersion
if (-not $global:buildVersion) {
Write-Output "`nThe buildVersion is null or an empty string."
Set-TestingFailed
[System.Environment]::Exit($global:errorCode)
}
Process-JavaScriptProjects -buildVersion $global:buildVersion
Process-DotNetProjects

Write-Output "`nFinished testing. Error code: $global:errorCode"

if ($global:errorCode -ne 0) {
Set-TestingFailed
}

[System.Environment]::Exit($global:errorCode)

0 comments on commit 1570375

Please sign in to comment.