mirror of
https://github.com/gomods/athens
synced 2026-02-03 12:10:32 +00:00
* ps: add cdefault conf * init - add config * add required env vars for win10 * update test_e2e.ps1 to use go build -mod=vendor
6 lines
256 B
PowerShell
6 lines
256 B
PowerShell
$repoDir = Join-Path $PSScriptRoot ".." | Join-Path -ChildPath ".."
|
|
if (-not (Join-Path $repoDir config.toml | Test-Path)) {
|
|
$example = Join-Path $repoDir config.example.toml
|
|
$target = Join-Path $repoDir config.toml
|
|
Copy-Item $example $target
|
|
} |