download/setup stargus
This commit is contained in:
parent
8f38d5fe66
commit
4f969e5f0d
2 changed files with 26 additions and 0 deletions
.vscode/scripts
13
.vscode/scripts/download.ps1
vendored
13
.vscode/scripts/download.ps1
vendored
|
@ -39,3 +39,16 @@ if (-not (Test-Path "$stratagus_folder\\..\\war1gus\\.vscode\\settings.json")) {
|
|||
if (-not (Test-Path "$stratagus_folder\\..\\war1gus\\.vscode\\launch.json")) {
|
||||
Copy-Item "$stratagus_folder\\.vscode\\launch.war1gus.json" "$stratagus_folder\\..\\war1gus\\.vscode\\launch.json"
|
||||
}
|
||||
|
||||
if (-not (Test-Path "$stratagus_folder\\..\\stargus")) {
|
||||
git clone https://github.com/Wargus/stargus "$stratagus_folder\\..\\stargus"
|
||||
}
|
||||
if (-not (Test-Path "$stratagus_folder\\..\\stargus\\.vscode")) {
|
||||
mkdir "$stratagus_folder\\..\\stargus\\.vscode"
|
||||
}
|
||||
if (-not (Test-Path "$stratagus_folder\\..\\stargus\\.vscode\\settings.json")) {
|
||||
Copy-Item "$stratagus_folder\\.vscode\\settings.windows.stargus.json" "$stratagus_folder\\..\\stargus\\.vscode\\settings.json"
|
||||
}
|
||||
if (-not (Test-Path "$stratagus_folder\\..\\stargus\\.vscode\\launch.json")) {
|
||||
Copy-Item "$stratagus_folder\\.vscode\\launch.stargus.json" "$stratagus_folder\\..\\stargus\\.vscode\\launch.json"
|
||||
}
|
||||
|
|
13
.vscode/scripts/download.sh
vendored
13
.vscode/scripts/download.sh
vendored
|
@ -30,3 +30,16 @@ fi
|
|||
if [ ! -e "${stratagus_folder}/../war1gus/.vscode/launch.json" ]; then
|
||||
cp "${stratagus_folder}/.vscode/launch.war1gus.json" "${stratagus_folder}/../war1gus/.vscode/launch.json"
|
||||
fi
|
||||
|
||||
if [ ! -d "${stratagus_folder}/../stargus" ]; then
|
||||
git clone https://github.com/Wargus/stargus "${stratagus_folder}/../stargus"
|
||||
fi
|
||||
if [ ! -d "${stratagus_folder}/../stargus/.vscode" ]; then
|
||||
mkdir "${stratagus_folder}/../stargus/.vscode"
|
||||
fi
|
||||
if [ ! -e "${stratagus_folder}/../stargus/.vscode/settings.json" ]; then
|
||||
cp "${stratagus_folder}/.vscode/settings.linux.stargus.json" "${stratagus_folder}/../stargus/.vscode/settings.json"
|
||||
fi
|
||||
if [ ! -e "${stratagus_folder}/../stargus/.vscode/launch.json" ]; then
|
||||
cp "${stratagus_folder}/.vscode/launch.stargus.json" "${stratagus_folder}/../stargus/.vscode/launch.json"
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue