summaryrefslogtreecommitdiff
path: root/docs/static/setup.ps1
diff options
context:
space:
mode:
authorCrossR <r.cross@lancaster.ac.uk>2020-09-24 17:42:34 +0100
committerCrossR <r.cross@lancaster.ac.uk>2020-09-24 19:28:02 +0100
commitcd194dbac4747126f017ce6e9ddf070ca6cc1fef (patch)
tree335609e9ecc095a854cf7c8266e88d92b9ff961b /docs/static/setup.ps1
parent550c35db23f15c6835a43fe1d2e4a3b5a04ac2b8 (diff)
Add licenses.
Diffstat (limited to 'docs/static/setup.ps1')
-rw-r--r--docs/static/setup.ps18
1 files changed, 6 insertions, 2 deletions
diff --git a/docs/static/setup.ps1 b/docs/static/setup.ps1
index a2d66ee..3946e66 100644
--- a/docs/static/setup.ps1
+++ b/docs/static/setup.ps1
@@ -1,3 +1,7 @@
+# Copyright (c) 2020 The ZMK Contributors
+#
+# SPDX-License-Identifier: MIT
+
$ErrorActionPreference = "Stop"
function Get-Choice-From-Options {
@@ -10,7 +14,7 @@ function Get-Choice-From-Options {
for ($i = 0; $i -lt $Options.length; $i++) {
Write-Host "$($i + 1)) $($Options[$i])"
}
-
+
Write-Host "$($Options.length + 1)) Quit"
$selection = Read-Host $Prompt
@@ -103,7 +107,7 @@ if ($github_user -ne "") {
}
$github_repo = Read-Host "GitHub Repo [https://github.com/$github_user/$repo_name.git]"
-
+
if ($github_repo -eq "") {
$github_repo = "https://github.com/$github_user/$repo_name.git"
}