Skip to content
Merged
Show file tree
Hide file tree
Changes from 10 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion eng/scripts/ChangedFiles-Functions.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function Get-ChangedCoreFiles($changedFiles = (Get-ChangedFiles)) {
)

$coreFiles = $changedFiles | Where-Object {
$_.StartsWith("eng/") -or
# $_.StartsWith("eng/") -or
$_.StartsWith("specification/common-types/") -or
$_ -in $rootFiles
}
Expand Down
6 changes: 3 additions & 3 deletions eng/scripts/Get-TypeSpec-Folders.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Set-StrictMode -Version 3
. $PSScriptRoot/ChangedFiles-Functions.ps1

$repoPath = Resolve-Path "$PSScriptRoot/../.."
$checkAllPath = "specification"
$checkAllPath = ((Get-ChildItem "specification" -Directory).Name -replace '^', 'specification/') -replace '$', '/'

if ($CheckAll) {
$changedFiles = $checkAllPath
Expand All @@ -28,9 +28,9 @@ else {
$typespecFolders = @()
$skippedTypespecFolders = @()
foreach ($file in $changedFiles) {
if ($file -match 'specification(\/[^\/]*\/)*') {
if ($file -match 'specification(\/[^\/]+\/)+') {
$path = "$repoPath/$($matches[0])"
if (Test-Path $path) {
if (Test-Path $path) {
Write-Verbose "Checking for tspconfig files under $path"
$typespecFolder = Get-ChildItem -path $path tspconfig.* -Recurse
if ($typespecFolder) {
Expand Down
1 change: 1 addition & 0 deletions specification/contosowidgetmanager/data-plane/readme.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# testing
# Contoso.WidgetManager

> see https://aka.ms/autorest
Expand Down
Empty file added specification/test.txt
Empty file.