From 78a47dba50024f51eff4f869a3cf6377ff02cb7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4ger?= Date: Tue, 5 Mar 2024 16:05:01 +0100 Subject: [PATCH] Remove unused parameter from download_dependencies.ps1 --- download_dependencies.ps1 | 3 +-- make_nuget.ps1 | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/download_dependencies.ps1 b/download_dependencies.ps1 index 37813ce..c40d91e 100644 --- a/download_dependencies.ps1 +++ b/download_dependencies.ps1 @@ -1,5 +1,4 @@ -Param([parameter(Mandatory=$true,Position=0)][String]$GLFW_VERSION, - [parameter(Mandatory=$true,Position=1)][String]$GLFW_SHORT_VERSION) +Param([parameter(Mandatory=$true,Position=0)][String]$GLFW_VERSION) New-Item -ItemType Directory -Force -Path tmp diff --git a/make_nuget.ps1 b/make_nuget.ps1 index be8ad24..2f79b50 100644 --- a/make_nuget.ps1 +++ b/make_nuget.ps1 @@ -14,7 +14,7 @@ if($currentBranch -eq "develop") { $buildVersionResult = "0-pre" + (Get-Date).ToUniversalTime().ToString("yyyyMMddHHmmss") } -./download_dependencies.ps1 $GLFW_VERSION $GLFW_SHORT_VERSION +./download_dependencies.ps1 $GLFW_VERSION $header = Get-Content([System.IO.Path]::Combine($projectDir, ".\tmp\src\include\GLFW\glfw3.h")) | Out-String