зеркало из
1
0
Форкнуть 0
This commit is contained in:
jonsequitur 2017-03-01 22:40:25 -08:00
Родитель 5f037070c8
Коммит 997468c205
2 изменённых файлов: 11 добавлений и 2 удалений

1
.gitignore поставляемый
Просмотреть файл

@ -13,6 +13,7 @@
*.vsp
*.xml
.dotnet
.nuget
._.DS_Store
.DS_Store
.idea

Просмотреть файл

@ -1,5 +1,13 @@
export NUGET_PACKAGES=.nuget
export NUGET_HTTP_CACHE_PATH=.nuget
SOURCE="${BASH_SOURCE[0]}"
while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symlink
DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
SOURCE="$(readlink "$SOURCE")"
[[ "$SOURCE" != /* ]] && SOURCE="$DIR/$SOURCE" # if $SOURCE was a relative symlink, we need to resolve it relative to the path where the symlink file was located
done
DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
REPOROOT="$DIR"
export NUGET_PACKAGES=$REPOROOT/.nuget
export NUGET_HTTP_CACHE_PATH=$REPOROOT/.nuget
export DOTNET_INSTALL_DIR=.dotnet
export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
mkdir $DOTNET_INSTALL_DIR