mirror of
https://github.com/gomods/athens
synced 2026-02-03 11:00:32 +00:00
rename example to dev and rm test config (#691)
This commit is contained in:
@@ -3,5 +3,5 @@
|
||||
SCRIPTS_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
|
||||
|
||||
if [ ! -e "${SCRIPTS_DIR}/../config.toml" ] ; then
|
||||
cp "${SCRIPTS_DIR}/../config.test.toml" "${SCRIPTS_DIR}/../config.toml"
|
||||
cp "${SCRIPTS_DIR}/../config.dev.toml" "${SCRIPTS_DIR}/../config.toml"
|
||||
fi
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
$repoDir = Join-Path $PSScriptRoot ".." | Join-Path -ChildPath ".."
|
||||
if (-not (Join-Path $repoDir config.toml | Test-Path)) {
|
||||
$example = Join-Path $repoDir config.test.toml
|
||||
$example = Join-Path $repoDir config.dev.toml
|
||||
$target = Join-Path $repoDir config.toml
|
||||
Copy-Item $example $target
|
||||
}
|
||||
Reference in New Issue
Block a user