Scoop-Core
Scoop-Core copied to clipboard
debt: Ditch `core.ps1`
- [x] Drop Reset-Alias
- [ ] Circular deps
- [ ] core.ps1 -> init.ps1/bootstrap.ps1 and real core functions
- Bootstrap will be executed only in:
- test init?
- scoop.ps1
- binaries
- Bootstrap will be executed only in:
- [ ] Replace all dot sourcing with check:
@(
@('manifest', 'manifest_path'),
@('Helpers', 'Test...')
) | ForEach-Object {
if (!(Get-Command $_[1] -ErrorAction 'SilentlyContinue')) {
. (Join-Path $PSScriptRoot "..\lib\${_}.ps1")
}
}