jarvis-compose/fetch.ps1

17 lines
No EOL
451 B
PowerShell

if (Test-Path -Path ".\jarvis-bot") {
Push-Location ".\jarvis-bot"
git pull
Pop-Location
} else {
git clone https://git.zevaryx.com/stark-industries/jarvis/jarvis-bot.git
}
if (Test-Path -Path ".\jarvis-tasks") {
Push-Location ".\jarvis-tasks"
git pull
Pop-Location
} else {
git clone https://git.zevaryx.com/stark-industries/jarvis/jarvis-tasks.git
}
cp config.yaml .\jarvis-bot\config.yaml
cp config.yaml .\jarvis-tasks.\config.yaml