Skip to content
This repository was archived by the owner on May 21, 2019. It is now read-only.

Use ** rather than * for globbing #109

Closed
wants to merge 1 commit into from
Closed
Changes from all 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
10 changes: 5 additions & 5 deletions build/shade/_k-standard-goals.shade
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ default BUILD_DIR='${Path.Combine(TARGET_DIR, "build")}'
default TEST_DIR='${Path.Combine(TARGET_DIR, "test")}'
default Configuration='${E("Configuration")}'
default PACKAGELIST_JSON_FILENAME = 'NuGetPackageVerifier.json'
default SRC_PROJECT_GLOB = "src/*/project.json"
default TEST_PROJECT_GLOB = "test/*/project.json"
default SAMPLES_PROJECT_GLOB = "samples/*/project.json"
default SRC_PROJECT_GLOB = "src/**/project.json"
default TEST_PROJECT_GLOB = "test/**/project.json"
default SAMPLES_PROJECT_GLOB = "samples/**/project.json"

@{
if (string.IsNullOrEmpty(E("DOTNET_BUILD_VERSION")))
Expand Down Expand Up @@ -103,7 +103,7 @@ default SAMPLES_PROJECT_GLOB = "samples/*/project.json"
}

#build-clean if='Directory.Exists("src")'
k-clean each='var projectFile in Files.Include("src/*/project.json")'
k-clean each='var projectFile in Files.Include(SRC_PROJECT_GLOB)'

#ci-deep-clean .deep-clean target='clean' if='IsTeamCity'

Expand Down Expand Up @@ -431,4 +431,4 @@ macro name="UpdateResx" resxFile='string'
k-generate-resx

macro name='GitCommand' gitCommand='string'
git
git