Skip to content

Commit 5239f63

Browse files
script
1 parent 1e4684d commit 5239f63

File tree

1 file changed

+8
-0
lines changed
  • packages/http-client-java/generator/http-client-generator-clientcore-test

1 file changed

+8
-0
lines changed

packages/http-client-java/generator/http-client-generator-clientcore-test/Generate.ps1

+8
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,14 @@ $job | Receive-Job
8484

8585
Remove-Item ./specs -Recurse -Force
8686

87+
git fetch origin pull/6981/head:smoke-test-branch
88+
git restore --source smoke-test-branch --worktree -- ../../../smoke-http-specs
89+
Copy-Item -Path ../../../smoke-http-specs/specs -Destination ./ -Recurse -Force
90+
npx --no-install tsp compile specs/todoapp/main.tsp
91+
npx --no-install tsp compile specs/petstore/main.tsp
92+
Remove-Item ./specs -Recurse -Force
93+
Remove-Item ../../../smoke-http-specs -Recurse -Force
94+
8795
Copy-Item -Path ./tsp-output/*/src -Destination ./ -Recurse -Force -Exclude @("module-info.java")
8896

8997
Remove-Item ./tsp-output -Recurse -Force

0 commit comments

Comments
 (0)