Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd3e48e5

Browse files
authored
Infra: Fix typespec generation on Windows (#1570)
1 parent31a3a3f commitd3e48e5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎contract-typespec/build.gradle‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ def typeSpecs = ["api"]
3232

3333
typeSpecs.each { spec->
3434

35-
def tspPath="\\tsp --output-dir=${project.layout.buildDirectory.get()}/tsp/${spec} compile .\\"
35+
def buildDir= project.layout.buildDirectory.get().asFile
36+
def outputDir=newFile(buildDir,"tsp${File.separator}${spec}")
37+
def tspPath="tsp --output-dir=\"${outputDir}\" compile ."
3638

3739
tasks.register("installDependencies_${spec}",NpmTask) {
3840
group='build'

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp