Skip to content

Commit

Permalink
Remove Invoke-AllAtomicTests (redcanaryco#540)
Browse files Browse the repository at this point in the history
* use 'Invoke-AtomicTest All' instead of 'Invoke-AllAtomicTest'

* removing some outdated examples

* removing the older documentation
  • Loading branch information
clr2of8 authored and Michael Haag committed Aug 31, 2019
1 parent 96d8824 commit 749039f
Show file tree
Hide file tree
Showing 8 changed files with 190 additions and 398 deletions.
126 changes: 0 additions & 126 deletions docs/invoke-atomic-red-team.md

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,11 @@
# NestedModules = @()

# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.
FunctionsToExport = @()
FunctionsToExport = @(
'Confirm-Dependencies',
'Invoke-AtomicTest',
'Write-ExeutionLog'
)

# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
CmdletsToExport = @()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,11 @@ $Public = @( Get-ChildItem -Path $PSScriptRoot\Public\*.ps1 -Recurse -ErrorActio
$Private = @( Get-ChildItem -Path $PSScriptRoot\Private\*.ps1 -Recurse -ErrorAction SilentlyContinue )

#Dot source the files
Foreach ($import in @($Private + $Public)) {
Foreach ($import in @($Public + $Private)) {
Try {
. $import.fullname
}
Catch {
Write-Error -Message "Failed to import function $($import.fullname): $_"
}
}

Export-ModuleMember -Function $Public.Basename
}

This file was deleted.

Loading

0 comments on commit 749039f

Please sign in to comment.