-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fd32a56
commit 4c86c12
Showing
1 changed file
with
15 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,26 @@ | ||
@echo off | ||
|
||
:: Save the path of the build script. | ||
set BuildScriptPath=%~dp0 | ||
|
||
:: Strip trailing backslash. | ||
set RootPath=%BuildScriptPath:~0,-1%\.. | ||
|
||
echo Build the library. | ||
echo ================== | ||
|
||
dotnet build ..\src\Google.Ads.GoogleAds.csproj | ||
dotnet build "%RootPath%\src\Google.Ads.GoogleAds.csproj" | ||
if %errorlevel% neq 0 exit /b %errorlevel% | ||
|
||
echo Build the examples. | ||
echo =================== | ||
dotnet build ..\examples\Services\Google.Ads.GoogleAds.Examples.csproj | ||
dotnet build "%RootPath%\examples\Services\Google.Ads.GoogleAds.Examples.csproj" | ||
if %errorlevel% neq 0 exit /b %errorlevel% | ||
|
||
echo Run the tests. | ||
echo ============== | ||
dotnet build ..\tests\Google.Ads.GoogleAds.Tests.csproj | ||
@echo on | ||
|
||
exit /b %ERRORLEVEL% | ||
dotnet build "%RootPath%\tests\Google.Ads.GoogleAds.Tests.csproj" | ||
if %errorlevel% neq 0 exit /b %errorlevel% | ||
|
||
@echo on | ||
exit /b 0 |