From 6fc7589e74ec31d1b4267817d512a764c37d233f Mon Sep 17 00:00:00 2001 From: AndreasBrostrom Date: Fri, 21 Jul 2023 15:43:53 +0200 Subject: [PATCH] Updated deploy and ignore --- .gitignore | 14 ++++++++++---- tools/deploy_both.ps1 | 6 +++--- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 4ea53941..a0c6e65e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,14 +1,20 @@ -.vscode +.vscode/* [Tt]humbs.db texHeaders.bin +*.sqfc *.cache *.pbo *.swp *.swo +[Ki]eys/* *.biprivatekey [Rr]eleases/* [Rr]elease/* -[Kk]eys/* +@* +*.zip +hemtt +hemtt.exe .hemttout -[Tt]emp -[.Tt]emp \ No newline at end of file +ArmaScriptCompiler.exe +sqfvm.exe +tools/temp \ No newline at end of file diff --git a/tools/deploy_both.ps1 b/tools/deploy_both.ps1 index 3a8c6bb1..59588024 100644 --- a/tools/deploy_both.ps1 +++ b/tools/deploy_both.ps1 @@ -29,9 +29,9 @@ cd $PSScriptRoot cd $PSScriptRoot\.. Write-Host "Renaming and saving hemtt release in temp" -New-Item -ItemType Directory -Path temp -Force >$null 2>&1 +New-Item -ItemType Directory -Path tools\temp -Force >$null 2>&1 Rename-Item -Path .\releases\7CavAddon_$tagVersion.zip -NewName 7CavAddon_$tagVersion-hemtt.zip -Move-Item -Path .\releases\7CavAddon_$tagVersion-hemtt.zip -Destination .\temp\. +Move-Item -Path .\releases\7CavAddon_$tagVersion-hemtt.zip -Destination .\tools\temp\. # Pbo Project @@ -42,5 +42,5 @@ cd $PSScriptRoot\.. # Rename hemtt zip Rename-Item -Path .\releases\7CavAddon_$tagVersion.zip -NewName 7CavAddon_$tagVersion-pboProject.zip -Move-Item -Path .\temp\7CavAddon_$tagVersion-hemtt.zip -Destination .\releases\. +Move-Item -Path .\tools\temp\7CavAddon_$tagVersion-hemtt.zip -Destination .\releases\. Remove-Item .\temp -Force -Recurse -ErrorAction 'silentlycontinue' \ No newline at end of file