From 8080b5ca34b7def0ee4974ce28e52d7c9812abd9 Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Wed, 9 Apr 2025 10:30:06 -0400 Subject: [PATCH 1/2] Delete scripts/copy-objc-models.ps1 --- scripts/copy-objc-models.ps1 | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 scripts/copy-objc-models.ps1 diff --git a/scripts/copy-objc-models.ps1 b/scripts/copy-objc-models.ps1 deleted file mode 100644 index 3a5bd9da8..000000000 --- a/scripts/copy-objc-models.ps1 +++ /dev/null @@ -1,10 +0,0 @@ -Write-Host "Path to repo models directory: $env:RepoModelsDir" - -# clean old models -Remove-Item -Recurse $env:RepoModelsDir | Write-Host -Write-Host "Removed the existing generated files in the repo." -ForegroundColor Green - -# copy new models -$modelsDirectory = Join-Path $env:OutputFullPath "Models/" -Move-Item $modelsDirectory $env:RepoModelsDir -Write-Host "Moved the models from $modelsDirectory into the local repo." -ForegroundColor Green From b774e18b2a21f50365f74336c24723edb4aea6d2 Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Wed, 9 Apr 2025 10:30:30 -0400 Subject: [PATCH 2/2] Delete .azure-pipelines/generation-templates/objc.yml --- .azure-pipelines/generation-templates/objc.yml | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 .azure-pipelines/generation-templates/objc.yml diff --git a/.azure-pipelines/generation-templates/objc.yml b/.azure-pipelines/generation-templates/objc.yml deleted file mode 100644 index 52b5f4667..000000000 --- a/.azure-pipelines/generation-templates/objc.yml +++ /dev/null @@ -1,12 +0,0 @@ -steps: -- pwsh: '$(scriptsDirectory)/copy-objc-models.ps1' - displayName: 'Update models' - env: - BuildConfiguration: $(buildConfiguration) - OutputFullPath: $(typewriterDirectory)/output - RepoModelsDir: $(Build.SourcesDirectory)/msgraph-sdk-objc-models/GeneratedModels/ -- pwsh: | - gem install --user-install xcodeproj - ruby ./add_generated_models.rb | Write-Host - displayName: 'Add new files to project' - workingDirectory: $(Build.SourcesDirectory)/msgraph-sdk-objc-models/