Skip to content
Snippets Groups Projects
Commit d0e2d241 authored by Niko Ehrenfeuchter's avatar Niko Ehrenfeuchter :keyboard:
Browse files

Add script docstrings

parent c82d39f8
No related branches found
No related tags found
No related merge requests found
# Helper script to locate the latest AutoTx installation package (expected to be
# in a subdirectory of this script with a name like `build_2019-04-23_12-34-56`)
# and call the installer script from *within* that package.
# Make sure to run from the directory containing the script itself: # Make sure to run from the directory containing the script itself:
$BaseDir = $(Split-Path $MyInvocation.MyCommand.Path) $BaseDir = $(Split-Path $MyInvocation.MyCommand.Path)
Push-Location $BaseDir Push-Location $BaseDir
......
# helper script to install the AutoTx service on a computer # Helper script to install the AutoTx service on a computer. It is intended to
# be run from *within* an AutoTx installation package created with the
# `Make-Package.ps1` script.
#
# NOTE: the script will NOT update an existing installation of AutoTx!
# set our requirements: # set our requirements:
#Requires -version 5.1 #Requires -version 5.1
......
# helper script to create a package from an AutoTx build that can be used from # Helper script to create a package from an AutoTx build that can be used from
# the included "Install-Service.ps1" script as well as with the AutoTx-Updater # the included `Install-Service.ps1` script as well as with the AutoTx-Updater.
# set our requirements: # set our requirements:
#Requires -version 5.1 #Requires -version 5.1
......
# Helper script to be called by Visual Studio as a "pre-build" command.
[CmdletBinding(DefaultParameterSetName="build")] [CmdletBinding(DefaultParameterSetName="build")]
Param( Param(
[Parameter(Mandatory=$True, ParameterSetName="build")] [Parameter(Mandatory=$True, ParameterSetName="build")]
......
# Helper script to locate the latest AutoTx installation package (expected to be
# in a subdirectory of this script with a name like `build_2019-04-23_12-34-56`)
# and copy it to the correct path so it can be picked up the AutoTx-Updater.
#
# NOTE: the script will prune a few files (currently hardcoded) from the package
# copied to the central update location to prevent sensitive information from
# being accidentially leaked through a publicly accessible location (see the
# `$Exclude` variable below).
[CmdletBinding()] [CmdletBinding()]
Param( Param(
[Parameter(Mandatory=$True)][String] $UpdaterSettings [Parameter(Mandatory=$True)][String] $UpdaterSettings
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment