Skip to content

Commit

Permalink
script change
Browse files Browse the repository at this point in the history
  • Loading branch information
XiaofeiCao committed Sep 20, 2024
1 parent d37d396 commit 54af0f1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,28 +113,7 @@ $generateScript = {
}
}

Set-Location (Resolve-Path (Join-Path $PSScriptRoot '..' '..'))

npm install
npm run build
npm pack

Set-Location $PSScriptRoot


if (Test-Path node_modules) {
Remove-Item node_modules -Recurse -Force
}

if (Test-Path package-lock.json) {
Remove-Item package-lock.json
}

# delete output
if (Test-Path tsp-output) {
Remove-Item tsp-output -Recurse -Force
}
npm install
./Setup.ps1

New-Item -Path ./existingcode/src/main/java/com/cadl/ -ItemType Directory -Force | Out-Null

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# re-build http-client-java
Set-Location (Resolve-Path (Join-Path $PSScriptRoot '..' '..'))

./Setup.ps1

Set-Location $PSScriptRoot

npm run clean && npm install

0 comments on commit 54af0f1

Please sign in to comment.