Files
athens/scripts/ps/create_default_config.ps1

6 lines
252 B
PowerShell

$repoDir = Join-Path $PSScriptRoot ".." | Join-Path -ChildPath ".."
if (-not (Join-Path $repoDir config.toml | Test-Path)) {
$example = Join-Path $repoDir config.dev.toml
$target = Join-Path $repoDir config.toml
Copy-Item $example $target
}