This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Останавливать выполнение скрипта при любой ошибке | |
set -e | |
# --- Переменные --- | |
# Папка для восстановленных пакетов | |
PACKAGES_DIR="nuget_packages" | |
# Подпапка для .nupkg файлов (использую имя 'nupckg', как вы и просили) | |
NUPKG_SUBDIR="nupckg" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Параметры по умолчанию | |
INSTALL_GH_RUNNER=false | |
DOCKER_USER="" | |
DOCKER_PASS="" | |
# Парсинг аргументов | |
while getopts "u:p:g" opt; do | |
case $opt in |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//#region Общие функции | |
// Заглушки для dv.header и dv.table | |
if (window.dv === undefined) { | |
window.dv = { | |
header: (level, text) => console.log(`Header Level ${level}: ${text}`), | |
table: (headers, rows) => { | |
console.log(headers.join(' | ')); | |
rows.forEach(row => console.log(row.join(' | '))); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//#region Общие функции | |
// Заглушки для dv.header и dv.table | |
if (window.dv === undefined) { | |
window.dv = { | |
header: (level, text) => console.log(`Header Level ${level}: ${text}`), | |
table: (headers, rows) => { | |
console.log(headers.join(' | ')); | |
rows.forEach(row => console.log(row.join(' | '))); | |
} |