-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update public version of DevDriverTools to V1.3
Change-Id: If13c8364c86a6aa4d874f9e982a4978b64e25fc7
- Loading branch information
Perhaad Mistry
committed
Aug 31, 2018
1 parent
00ffbe0
commit eee2beb
Showing
229 changed files
with
23,553 additions
and
1,151 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,27 @@ | ||
#!/bin/bash -xl | ||
|
||
# create the makefiles and build everything | ||
cd ../../build/linux | ||
./prebuild.sh | ||
./build_release.sh | ||
|
||
if [[ `uname` != "Darwin" ]]; then | ||
# build the help files | ||
sphinxDir="../../docs" | ||
pushd $sphinxDir | ||
./make.sh html | ||
popd | ||
|
||
# make the destination help directory and move the help files | ||
dir="Release/docs/help/rdp" | ||
if [ ! -d $dir ]; then | ||
mkdir -p $dir | ||
fi | ||
mv ../../docs/build/html Release/docs/help/rdp | ||
fi | ||
|
||
mv Release DevDriverTools.$1 | ||
|
||
# archive it all | ||
tar cfz DevDriverTools.$1.tgz DevDriverTools.$1 | ||
tar cfz DevDriverAPI.$1.tgz DevDriverTools.$1/DevDriverAPI |
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,21 @@ | ||
// DevDriverTools | ||
|
||
// "WORKSPACE" is passed in by the build script from Jenkins | ||
Define "DEVDRIVERTOOLSPATH" "[WORKSPACE]" | ||
Define "DEVDRIVERTOOLSBUILD" "[DEVDRIVERTOOLSPATH]\build\win\VS2017" | ||
|
||
Always | ||
Log "[WORKSPACE]\DevDriverTools_Build.log" | ||
|
||
// Generate zip files | ||
Define "ZIPDIR" "[WORKSPACE]\DevDriverTools.[BUILD]" | ||
XCopy "[DEVDRIVERTOOLSPATH]\build\win\Release" "[ZIPDIR]\" | ||
mkdir "[ZIPDIR]\docs\help" | ||
mkdir "[ZIPDIR]\docs\help\rdp" | ||
mkdir "[ZIPDIR]\docs\help\rdp\html" | ||
XCopy "[WORKSPACE]\docs\build\html" "[ZIPDIR]\docs\help\rdp\html" | ||
Zip "[ZIPDIR].zip" "[ZIPDIR]" | ||
|
||
Define "APIZIPDIR" "[WORKSPACE]\DevDriverAPI.[BUILD]" | ||
XCopy "[DEVDRIVERTOOLSPATH]\build\win\Release\DevDriverAPI" "[APIZIPDIR]\" | ||
Zip "[APIZIPDIR].zip" "[APIZIPDIR]" |
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,21 @@ | ||
// DevDriverTools | ||
|
||
// "P4ROOT" is passed in by the build script from Jenkins | ||
Define "DEVDRIVERTOOLSPATH" "[P4ROOT]" | ||
Define "DEVDRIVERTOOLSBUILD" "[DEVDRIVERTOOLSPATH]\build\win\VS2017" | ||
|
||
Always | ||
Log "[P4ROOT]\DevDriverTools_Build.log" | ||
|
||
// Build Debug & Release | ||
BuildSln "[DEVDRIVERTOOLSBUILD]\DevDriverTools.sln" "" "Build" "Debug|x64" | ||
BuildSln "[DEVDRIVERTOOLSBUILD]\DevDriverTools.sln" "" "Build" "Release|x64" | ||
|
||
// SendBuildErrors doesn't actually send an email now - Jenkins does that | ||
// however we still need to call this to detect if an error condition occured | ||
SendBuildErrors "[EMAIL]" "DevDriverTools Build Failed" | ||
|
||
// Generate zip files | ||
Define "ZIPDIR" "[P4ROOT]\DevDriverTools.[BUILD]" | ||
XCopy "[DEVDRIVERTOOLSPATH]\build\win\Release" "[ZIPDIR]\" | ||
Zip "[ZIPDIR].zip" "[ZIPDIR]" |
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,21 @@ | ||
set DEVDRIVERTOOLSPATH=%WORKSPACE% | ||
set DEVDRIVERTOOLSBUILD=%DEVDRIVERTOOLSPATH%\build\win\VS2017 | ||
|
||
cd %DEVDRIVERTOOLSBUILD% | ||
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\Tools\VsDevCmd.bat" | ||
REM set the build folder again as VsDevCmd.bat seems to set it to something else | ||
cd /D %DEVDRIVERTOOLSBUILD% | ||
|
||
REM Build Debug|x64 configuration | ||
msbuild /m:3 /t:Build /p:Configuration=Debug /p:Platform=x64 /p:OutputPath=%DEVDRIVERTOOLSBUILD% /verbosity:minimal DevDriverTools.sln | ||
if not %ERRORLEVEL%==0 ( | ||
echo "Build Failed for file DevDriverTools.sln, configuration Debug|x64" | ||
exit 1 | ||
) | ||
|
||
REM Build Release|x64 configuration | ||
msbuild /m:3 /t:Build /p:Configuration=Release /p:Platform=x64 /p:OutputPath=%DEVDRIVERTOOLSBUILD% /verbosity:minimal DevDriverTools.sln | ||
if not %ERRORLEVEL%==0 ( | ||
echo "Build Failed for file DevDriverTools.sln, configuration Release|x64" | ||
exit 1 | ||
) |
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
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
Oops, something went wrong.
Oops, something went wrong.