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/ 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