Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add WilsonLinux.sln and build script on linux
- Loading branch information
Showing
35 changed files
with
240 additions
and
1,618 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,151 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio 15 | ||
VisualStudioVersion = 15.0.26430.6 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{BD2706C5-6C57-484D-89C8-A0CF5F8E3D19}" | ||
EndProject | ||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{8905D2E3-4499-4A86-BF3E-F098F228DD59}" | ||
EndProject | ||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "certs", "certs", "{1751FD49-8430-4046-9C16-1642A4A49CBA}" | ||
ProjectSection(SolutionItems) = preProject | ||
test\Certs\SelfSigned1024_SHA1.pfx = test\Certs\SelfSigned1024_SHA1.pfx | ||
test\Certs\SelfSigned1024_SHA256.pfx = test\Certs\SelfSigned1024_SHA256.pfx | ||
test\Certs\SelfSigned2048_SHA256.pfx = test\Certs\SelfSigned2048_SHA256.pfx | ||
test\Certs\SelfSigned2048_SHA256_Public.cer = test\Certs\SelfSigned2048_SHA256_Public.cer | ||
test\Certs\SelfSigned2048_SHA384.pfx = test\Certs\SelfSigned2048_SHA384.pfx | ||
test\Certs\SelfSigned2048_SHA512.pfx = test\Certs\SelfSigned2048_SHA512.pfx | ||
EndProjectSection | ||
EndProject | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.IdentityModel.Protocols.Tests", "test\Microsoft.IdentityModel.Protocols.Tests\Microsoft.IdentityModel.Protocols.Tests.csproj", "{4B448B99-EB37-4A89-9408-6BB3387829F9}" | ||
EndProject | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.IdentityModel.Logging.Tests", "test\Microsoft.IdentityModel.Logging.Tests\Microsoft.IdentityModel.Logging.Tests.csproj", "{7BB23627-58D2-41D5-B711-ACC5D7F6654E}" | ||
EndProject | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.IdentityModel.Tokens.Jwt.Tests", "test\System.IdentityModel.Tokens.Jwt.Tests\System.IdentityModel.Tokens.Jwt.Tests.csproj", "{74BA9664-7B6E-4215-914A-6A901327202D}" | ||
EndProject | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.IdentityModel.Protocols", "src\Microsoft.IdentityModel.Protocols\Microsoft.IdentityModel.Protocols.csproj", "{B5416A2F-9918-44C0-9178-D25E89976A75}" | ||
EndProject | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.IdentityModel.Tokens", "src\Microsoft.IdentityModel.Tokens\Microsoft.IdentityModel.Tokens.csproj", "{B682F592-2627-4BF6-91D7-6D6ACCB924D0}" | ||
EndProject | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.IdentityModel.Tokens.Jwt", "src\System.IdentityModel.Tokens.Jwt\System.IdentityModel.Tokens.Jwt.csproj", "{8F9882BB-3566-45C4-A144-28A85F51B25E}" | ||
EndProject | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.IdentityModel.Tokens.Tests", "test\Microsoft.IdentityModel.Tokens.Tests\Microsoft.IdentityModel.Tokens.Tests.csproj", "{602480C3-D5C1-45DA-9B16-B83C7BCF8D5D}" | ||
EndProject | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.IdentityModel.Protocols.WsFederation", "src\Microsoft.IdentityModel.Protocols.WsFederation\Microsoft.IdentityModel.Protocols.WsFederation.csproj", "{A8F0A3D1-FA93-4A59-9832-CC45D5375FA6}" | ||
EndProject | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.IdentityModel.Protocols.WsFederation.Tests", "test\Microsoft.IdentityModel.Protocols.WsFederation.Tests\Microsoft.IdentityModel.Protocols.WsFederation.Tests.csproj", "{A769FC73-E1EE-48D7-9C37-AFB2926EAAEF}" | ||
EndProject | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.IdentityModel.Protocols.OpenIdConnect", "src\Microsoft.IdentityModel.Protocols.OpenIdConnect\Microsoft.IdentityModel.Protocols.OpenIdConnect.csproj", "{4B22E54A-CA65-4239-9B92-6F56B44BA079}" | ||
EndProject | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.IdentityModel.Protocols.OpenIdConnect.Tests", "test\Microsoft.IdentityModel.Protocols.OpenIdConnect.Tests\Microsoft.IdentityModel.Protocols.OpenIdConnect.Tests.csproj", "{69F54E38-ED15-4CCC-960D-02FEE7CB6A64}" | ||
EndProject | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.IdentityModel.Tokens.Saml", "src\Microsoft.IdentityModel.Tokens.Saml\Microsoft.IdentityModel.Tokens.Saml.csproj", "{03C56BD0-A394-41FF-BA56-3EC446A54285}" | ||
EndProject | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.IdentityModel.Tokens.Saml.Tests", "test\Microsoft.IdentityModel.Tokens.Saml.Tests\Microsoft.IdentityModel.Tokens.Saml.Tests.csproj", "{1332DB7F-91BA-4929-84D7-BBF90D468642}" | ||
EndProject | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.IdentityModel.Xml", "src\Microsoft.IdentityModel.Xml\Microsoft.IdentityModel.Xml.csproj", "{5D64C6AF-2AA8-4BB3-B45B-CABF8FBD6271}" | ||
EndProject | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.IdentityModel.Xml.Tests", "test\Microsoft.IdentityModel.Xml.Tests\Microsoft.IdentityModel.Xml.Tests.csproj", "{BDB0A526-FA17-44CF-80D6-4A64F7E6CD7E}" | ||
EndProject | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.IdentityModel.Tests", "test\Microsoft.IdentityModel.Tests\Microsoft.IdentityModel.Tests.csproj", "{3C338E2D-C1D8-4517-8C52-A86A9F0C8281}" | ||
EndProject | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.IdentityModel.Logging", "src\Microsoft.IdentityModel.Logging\Microsoft.IdentityModel.Logging.csproj", "{E4E6D0ED-12CB-4C01-A4C1-4F60D10E2304}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{4B448B99-EB37-4A89-9408-6BB3387829F9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{4B448B99-EB37-4A89-9408-6BB3387829F9}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{4B448B99-EB37-4A89-9408-6BB3387829F9}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{4B448B99-EB37-4A89-9408-6BB3387829F9}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{7BB23627-58D2-41D5-B711-ACC5D7F6654E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{7BB23627-58D2-41D5-B711-ACC5D7F6654E}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{7BB23627-58D2-41D5-B711-ACC5D7F6654E}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{7BB23627-58D2-41D5-B711-ACC5D7F6654E}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{74BA9664-7B6E-4215-914A-6A901327202D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{74BA9664-7B6E-4215-914A-6A901327202D}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{74BA9664-7B6E-4215-914A-6A901327202D}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{74BA9664-7B6E-4215-914A-6A901327202D}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{B5416A2F-9918-44C0-9178-D25E89976A75}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{B5416A2F-9918-44C0-9178-D25E89976A75}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{B5416A2F-9918-44C0-9178-D25E89976A75}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{B5416A2F-9918-44C0-9178-D25E89976A75}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{B682F592-2627-4BF6-91D7-6D6ACCB924D0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{B682F592-2627-4BF6-91D7-6D6ACCB924D0}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{B682F592-2627-4BF6-91D7-6D6ACCB924D0}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{B682F592-2627-4BF6-91D7-6D6ACCB924D0}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{8F9882BB-3566-45C4-A144-28A85F51B25E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{8F9882BB-3566-45C4-A144-28A85F51B25E}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{8F9882BB-3566-45C4-A144-28A85F51B25E}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{8F9882BB-3566-45C4-A144-28A85F51B25E}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{602480C3-D5C1-45DA-9B16-B83C7BCF8D5D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{602480C3-D5C1-45DA-9B16-B83C7BCF8D5D}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{602480C3-D5C1-45DA-9B16-B83C7BCF8D5D}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{602480C3-D5C1-45DA-9B16-B83C7BCF8D5D}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{A8F0A3D1-FA93-4A59-9832-CC45D5375FA6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{A8F0A3D1-FA93-4A59-9832-CC45D5375FA6}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{A8F0A3D1-FA93-4A59-9832-CC45D5375FA6}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{A8F0A3D1-FA93-4A59-9832-CC45D5375FA6}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{A769FC73-E1EE-48D7-9C37-AFB2926EAAEF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{A769FC73-E1EE-48D7-9C37-AFB2926EAAEF}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{A769FC73-E1EE-48D7-9C37-AFB2926EAAEF}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{A769FC73-E1EE-48D7-9C37-AFB2926EAAEF}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{4B22E54A-CA65-4239-9B92-6F56B44BA079}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{4B22E54A-CA65-4239-9B92-6F56B44BA079}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{4B22E54A-CA65-4239-9B92-6F56B44BA079}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{4B22E54A-CA65-4239-9B92-6F56B44BA079}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{69F54E38-ED15-4CCC-960D-02FEE7CB6A64}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{69F54E38-ED15-4CCC-960D-02FEE7CB6A64}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{69F54E38-ED15-4CCC-960D-02FEE7CB6A64}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{69F54E38-ED15-4CCC-960D-02FEE7CB6A64}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{03C56BD0-A394-41FF-BA56-3EC446A54285}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{03C56BD0-A394-41FF-BA56-3EC446A54285}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{03C56BD0-A394-41FF-BA56-3EC446A54285}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{03C56BD0-A394-41FF-BA56-3EC446A54285}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{1332DB7F-91BA-4929-84D7-BBF90D468642}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{1332DB7F-91BA-4929-84D7-BBF90D468642}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{1332DB7F-91BA-4929-84D7-BBF90D468642}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{1332DB7F-91BA-4929-84D7-BBF90D468642}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{5D64C6AF-2AA8-4BB3-B45B-CABF8FBD6271}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{5D64C6AF-2AA8-4BB3-B45B-CABF8FBD6271}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{5D64C6AF-2AA8-4BB3-B45B-CABF8FBD6271}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{5D64C6AF-2AA8-4BB3-B45B-CABF8FBD6271}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{BDB0A526-FA17-44CF-80D6-4A64F7E6CD7E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{BDB0A526-FA17-44CF-80D6-4A64F7E6CD7E}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{BDB0A526-FA17-44CF-80D6-4A64F7E6CD7E}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{BDB0A526-FA17-44CF-80D6-4A64F7E6CD7E}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{3C338E2D-C1D8-4517-8C52-A86A9F0C8281}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{3C338E2D-C1D8-4517-8C52-A86A9F0C8281}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{3C338E2D-C1D8-4517-8C52-A86A9F0C8281}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{3C338E2D-C1D8-4517-8C52-A86A9F0C8281}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{E4E6D0ED-12CB-4C01-A4C1-4F60D10E2304}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{E4E6D0ED-12CB-4C01-A4C1-4F60D10E2304}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{E4E6D0ED-12CB-4C01-A4C1-4F60D10E2304}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{E4E6D0ED-12CB-4C01-A4C1-4F60D10E2304}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(NestedProjects) = preSolution | ||
{4B448B99-EB37-4A89-9408-6BB3387829F9} = {8905D2E3-4499-4A86-BF3E-F098F228DD59} | ||
{7BB23627-58D2-41D5-B711-ACC5D7F6654E} = {8905D2E3-4499-4A86-BF3E-F098F228DD59} | ||
{74BA9664-7B6E-4215-914A-6A901327202D} = {8905D2E3-4499-4A86-BF3E-F098F228DD59} | ||
{B5416A2F-9918-44C0-9178-D25E89976A75} = {BD2706C5-6C57-484D-89C8-A0CF5F8E3D19} | ||
{B682F592-2627-4BF6-91D7-6D6ACCB924D0} = {BD2706C5-6C57-484D-89C8-A0CF5F8E3D19} | ||
{8F9882BB-3566-45C4-A144-28A85F51B25E} = {BD2706C5-6C57-484D-89C8-A0CF5F8E3D19} | ||
{602480C3-D5C1-45DA-9B16-B83C7BCF8D5D} = {8905D2E3-4499-4A86-BF3E-F098F228DD59} | ||
{A8F0A3D1-FA93-4A59-9832-CC45D5375FA6} = {BD2706C5-6C57-484D-89C8-A0CF5F8E3D19} | ||
{A769FC73-E1EE-48D7-9C37-AFB2926EAAEF} = {8905D2E3-4499-4A86-BF3E-F098F228DD59} | ||
{4B22E54A-CA65-4239-9B92-6F56B44BA079} = {BD2706C5-6C57-484D-89C8-A0CF5F8E3D19} | ||
{69F54E38-ED15-4CCC-960D-02FEE7CB6A64} = {8905D2E3-4499-4A86-BF3E-F098F228DD59} | ||
{03C56BD0-A394-41FF-BA56-3EC446A54285} = {BD2706C5-6C57-484D-89C8-A0CF5F8E3D19} | ||
{1332DB7F-91BA-4929-84D7-BBF90D468642} = {8905D2E3-4499-4A86-BF3E-F098F228DD59} | ||
{5D64C6AF-2AA8-4BB3-B45B-CABF8FBD6271} = {BD2706C5-6C57-484D-89C8-A0CF5F8E3D19} | ||
{BDB0A526-FA17-44CF-80D6-4A64F7E6CD7E} = {8905D2E3-4499-4A86-BF3E-F098F228DD59} | ||
{3C338E2D-C1D8-4517-8C52-A86A9F0C8281} = {8905D2E3-4499-4A86-BF3E-F098F228DD59} | ||
{E4E6D0ED-12CB-4C01-A4C1-4F60D10E2304} = {BD2706C5-6C57-484D-89C8-A0CF5F8E3D19} | ||
EndGlobalSection | ||
EndGlobal |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,60 @@ | ||
#!/usr/bin/env bash | ||
repoFolder="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | ||
cd $repoFolder | ||
|
||
koreBuildZip="https://github.com/aspnet/KoreBuild/archive/dev.zip" | ||
if [ ! -z $KOREBUILD_ZIP ]; then | ||
koreBuildZip=$KOREBUILD_ZIP | ||
fi | ||
RESET="\033[0m" | ||
RED="\033[0;31m" | ||
|
||
print_install_instruction() { | ||
echo -e "${RED} Please refer to https://github.com/dotnet/cli#add-debian-feed to install the latest dotnet \n\n ${RESET}" | ||
} | ||
|
||
restore() { | ||
echo -e "===========================================================" | ||
echo -e "Restore ...... " | ||
echo -e "===========================================================\n" | ||
|
||
dotnet restore WilsonLinux.sln | ||
echo -e "\n" | ||
} | ||
|
||
build() { | ||
echo -e "===========================================================" | ||
echo -e "Build ...... " | ||
echo -e "===========================================================\n" | ||
|
||
buildFolder=".build" | ||
buildFile="$buildFolder/KoreBuild.sh" | ||
|
||
if test ! -d $buildFolder; then | ||
echo "Downloading KoreBuild from $koreBuildZip" | ||
|
||
tempFolder="/tmp/KoreBuild-$(uuidgen)" | ||
mkdir $tempFolder | ||
|
||
localZipFile="$tempFolder/korebuild.zip" | ||
|
||
retries=6 | ||
until (wget -O $localZipFile $koreBuildZip 2>/dev/null || curl -o $localZipFile --location $koreBuildZip 2>/dev/null) | ||
do | ||
echo "Failed to download '$koreBuildZip'" | ||
if [ "$retries" -le 0 ]; then | ||
exit 1 | ||
fi | ||
retries=$((retries - 1)) | ||
echo "Waiting 10 seconds before retrying. Retries left: $retries" | ||
sleep 10s | ||
done | ||
|
||
unzip -q -d $tempFolder $localZipFile | ||
dotnet build WilsonLinux.sln | ||
echo -e "\n" | ||
} | ||
|
||
pack() { | ||
echo -e "===========================================================" | ||
echo -e "Pack ...... " | ||
echo -e "===========================================================\n" | ||
|
||
dotnet pack WilsonLinux.sln | ||
|
||
mkdir $buildFolder | ||
cp -r $tempFolder/**/build/** $buildFolder | ||
|
||
chmod +x $buildFile | ||
|
||
# Cleanup | ||
if test ! -d $tempFolder; then | ||
rm -rf $tempFolder | ||
fi | ||
echo -e "\n" | ||
echo -e "===========================================================" | ||
echo -e "Moving nuget packages to 'artifacts' folder ...... " | ||
echo -e "===========================================================\n" | ||
rm -rf artifacts | ||
mkdir artifacts | ||
mv src/*/bin/Debug/*.nupkg artifacts | ||
} | ||
|
||
echo -e "===========================================================" | ||
echo -e "Check the installation and the version of dotnet ...... " | ||
echo -e "===========================================================\n" | ||
|
||
if ! type "dotnet" > /dev/null 2>&1; then | ||
echo -e "${RED}Error: dotnet is not installed\n ${RESET}" | ||
print_install_instruction | ||
else | ||
VERSION="$(dotnet --version)" | ||
echo -e " dotnet version ${VERSION} is found.\n" | ||
restore | ||
build | ||
pack | ||
fi | ||
|
||
$buildFile -r $repoFolder "$@" | ||
echo -e "done." | ||
|
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.