/
aprogrammer
/
dotnet-docs
Обзор
Документация
Войти
/
aprogrammer
/
dotnet-docs
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
VS2017
ci-scripts/getlist.sh
25 строк
906 B
Den Delimarsky
:fire: [ci] shell build scripts.
11 авг 2016, 23:16
11 авг 2016, 23:16
393e9a5
Код
Авторство
О чём код?
#!/bin/bash # ================================= # Script used to obtain a list of # project files that are used for # restore and compilation. # # Last Update: 08/04/2016 # Author: Den Delimarsky # ================================= # For logging purposes, create a folder that can uniquely identify the build mkdir $BUILD_TAG # For reference purposes, get the local home path that will be used # as the root for file-related operations. HPATH=$PWD echo $HPATH # For diagnostic purposes, log the information about the dotnet environment. dotnet --info | tee $HPATH/global.projects --append $HPATH/$BUILD_TAG/buildlog.txt # Get the list of global and single project files find $HPATH/samples/core -name "global.json" |& tee $HPATH/global.projects --append $HPATH/$BUILD_TAG/buildlog.txt find $HPATH/samples/core -name "project.json" |& tee $HPATH/single.projects --append $HPATH/$BUILD_TAG/buildlog.txt