-
Notifications
You must be signed in to change notification settings - Fork 0
/
Tester.ps1
19 lines (16 loc) · 831 Bytes
/
Tester.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
. '.\src\GitHub SRC manager.ps1'
GetSRCFromGitHub -SRCFolder "$PSScriptRoot\src" -MainScriptPath $PSScriptRoot
. '.\src\Logging\Logging.ps1'
. '.\src\Folders Manager\Folders Manager.ps1'
. '.\src\Configuration Manager\Configuration Manager.ps1'
. '.\src\Notifications\Import required notifications modules.ps1'
. '.\src\Notifications\Send Notification.ps1'
CreateMissingFolder -FolderToCreate "$PSScriptRoot\log"
CreateMissingFolder -FolderToCreate "$PSScriptRoot\configuration"
# LogWrite
# LogWriteDebug -LogString "A" -MainScriptPath $PSScriptRoot -DebugFlag $true
# Generate a Default object
$defaultConfiguration = [PSCustomObject]@{
debug = $true;
}
$configuration = Get-ConfigurationFromJson -DefaultConfiguration $defaultConfiguration -MainScriptPath $PSScriptRoot -ConfigurationFileName "sync Configuration.json"