Skip to content
This repository has been archived by the owner on Feb 22, 2021. It is now read-only.

Commit

Permalink
Leverage action to install module(s) instead
Browse files Browse the repository at this point in the history
  • Loading branch information
TsekNet committed Sep 7, 2020
1 parent 26cc928 commit 2257337
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
20 changes: 20 additions & 0 deletions actions_bootstrap.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,26 @@ $null = $modulesToInstall.Add(([PSCustomObject]@{
ModuleVersion = '0.12.0'
}))

# https://github.com/dahlbyk/posh-git
$null = $modulesToInstall.Add(([PSCustomObject]@{
ModuleName = 'posh-git'
}))

# https://github.com/JanDeDobbeleer/oh-my-posh
$null = $modulesToInstall.Add(([PSCustomObject]@{
ModuleName = 'oh-my-posh'
}))

# https://github.com/joonro/Get-ChildItemColor
$null = $modulesToInstall.Add(([PSCustomObject]@{
ModuleName = 'Get-ChildItemColor'
}))

# https://github.com/EvotecIT/PSWriteHTML
$null = $modulesToInstall.Add(([PSCustomObject]@{
ModuleName = 'PSWriteHTML'
}))

'Installing PowerShell Modules'
foreach ($module in $modulesToInstall) {
$installSplat = @{
Expand Down
2 changes: 0 additions & 2 deletions src/TsekProfile.build.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#Requires -Modules posh-git, oh-my-posh, Get-ChildItemColor, PSWriteHTML

<#
.SYNOPSIS
An Invoke-Build Build file.
Expand Down

0 comments on commit 2257337

Please sign in to comment.