mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-05 09:41:28 +08:00
4cbbcbddfd
* [vcpkg ci:osx] Remove brew install * add instructions for creating a new vagrant box * fix the vagrant scripts for the new box * finish fixing the setup * [mecab jxrlib] fix ports for CI mecab needed to use an actual ref that wasn't master, and jxrlib needed a patch for xcode 12 CLTs. Additionally, this fixes the mecab version to be a date, the date of the last commit, since `1.0` is not the correct version (mecab doesn't have released versions) * [many ports] fix compile with Xcode 12 CLTs This mostly means fixing errors on implicit-function-declaration, and removing some Werrors * alac-decoder * apr * argtable2 * arrow * hyperscan * mcpp * minizip * mosquitto * stormlib * [many ports] even more Xcode 12 CLT fixes * [jxrlib darknet] fix the last ports! (hopefully) * CRs, plus minor wip changes to osx scripts
33 lines
750 B
PowerShell
33 lines
750 B
PowerShell
#!pwsh
|
|
#Requires -Version 6.0
|
|
|
|
<#
|
|
.SYNOPSIS
|
|
Installs the base box at the specified version from the share.
|
|
|
|
.PARAMETER StorageAccountAccessKey
|
|
An access key for the storage account.
|
|
|
|
.PARAMETER BaseBoxVersion
|
|
The version of the base box to import; this should be a date, i.e. 2020-09-17
|
|
#>
|
|
[CmdletBinding(PositionalBinding=$False)]
|
|
Param(
|
|
[Parameter(Mandatory=$True)]
|
|
[String]$StorageAccountAccessKey,
|
|
[Parameter(Mandatory=$True)]
|
|
[String]$BaseBoxVersion
|
|
)
|
|
|
|
Set-StrictMode -Version 2
|
|
|
|
if (-not $IsMacOS) {
|
|
throw 'This script should only be run on a macOS host'
|
|
}
|
|
|
|
$encodedAccessKey = [System.Web.HttpUtility]::UrlEncode($StorageAccountAccessKey)
|
|
|
|
# TODO: finish this, once I have access to a mac again
|
|
# mount_smbfs
|
|
# vagrant box add
|