text
stringlengths
0
834k
403,d03c0ee992b02dd22a8f6c13d87b7cdab58d6830,1866,bat,Batchfile,build/PublishNightlyVersion_Script.bat,cosmos-loops/Data.EntityFrameworkCore,c7d6681c29e39df36b4b2b15cade223e04267c33,['Apache-2.0'],2.0,2018-05-19T16:28:07.000Z,2018-05-20T16:12:28.000Z,build/PublishNightlyVersion_Script.bat,cosmos-loops/cosmos-efcore,c7d...
echo =======================================================================
echo Cosmos.EntityFrameworkCore
echo =======================================================================
::go to parent folder
cd ..
::create nuget_packages
if not exist nuget_packages (
md nuget_packages
echo Created nuget_packages folder.
)
::clear nuget_packages
for /R ""nuget_packages"" %%s in (*) do (
del ""%%s""
)
echo Cleaned up all nuget packages.
echo.
::start to package all projects
dotnet pack src/Cosmos.EntityFrameworkCore/Cosmos.EntityFrameworkCore._build.csproj -c Release -o nuget_packages --no-restore
dotnet pack src/Cosmos.EntityFrameworkCore.MySql/Cosmos.EntityFrameworkCore.MySql._build.csproj -c Release -o nuget_packages --no-restore
::dotnet pack src/Cosmos.EntityFrameworkCore.MySqlConnector/Cosmos.EntityFrameworkCore.MySqlConnector._build.csproj -c Release -o nuget_packages --no-restore
dotnet pack src/Cosmos.EntityFrameworkCore.Oracle/Cosmos.EntityFrameworkCore.Oracle._build.csproj -c Release -o nuget_packages --no-restore
dotnet pack src/Cosmos.EntityFrameworkCore.PostgreSql/Cosmos.EntityFrameworkCore.PostgreSql._build.csproj -c Release -o nuget_packages --no-restore
dotnet pack src/Cosmos.EntityFrameworkCore.SqlServer/Cosmos.EntityFrameworkCore.SqlServer._build.csproj -c Release -o nuget_packages --no-restore
dotnet pack src/Cosmos.EntityFrameworkCore.Sqlite/Cosmos.EntityFrameworkCore.Sqlite._build.csproj -c Release -o nuget_packages --no-restore
for /R ""nuget_packages"" %%s in (*symbols.nupkg) do (
del ""%%s""
)
echo.
echo.
::push nuget packages to server
for /R ""nuget_packages"" %%s in (*.nupkg) do (
dotnet nuget push ""%%s"" -s ""Nightly"" --skip-duplicate
echo.
)
::get back to build folder
cd build",40.5652173913,158,0.6827438371
404,d03c1b2a39eec7e8f0de3e652806725f3047f4a6,3930,bat,Batchfile,Projects/NUCLEO-L432KC/Applications/1_Image/1_Image_SECoreBin/EWARM/SECBOOT_ECCDSA_WITHOUT_ENCRYPT_SHA256.bat,pintoXD/stm32wb55LoRaFuota,7b84971f7ac063a04a38fa825a806b33b2213b76,['Apache-2.0' 'BSD-3-Clause'],,,,Projects/NUCLEO-L432KC/Applications/1_Image/1...
:: arg1 is the build directory
:: arg2 is the elf file path+name
:: arg3 is the bin file path+name
:: arg4 is the firmware Id (1/2/3)
:: arg5 is the version
:: arg6 when present forces ""bigelf"" generation
@echo off
set ""projectdir=%1""
set ""execname=%~n3""
set ""elf=%2""
set ""bin=%3""
set ""fwid=%4""
set ""version=%5""
set ""SBSFUBootLoader=%~d0%~p0\\..\\..""
::The default installation path of the Cube Programmer tool is: ""C:\Program Files (x86)\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin""
::If you installed it in another location, please update the %programmertool% variable below accordingly.
set ""programmertool=""C:\\Program Files (x86)\\STMicroelectronics\\STM32Cube\\STM32CubeProgrammer\\bin\\STM32_Programmer_CLI""""
set ""userAppBinary=%projectdir%\\..\\Binary\\""
set ""sfb=%userAppBinary%\\%execname%.sfb""
set ""sign=%userAppBinary%\\%execname%.sign""
set ""headerbin=%userAppBinary%\\%execname%sfuh.bin""
set ""bigbinary=%userAppBinary%\\SBSFU_%execname%.bin""
set ""elfbackup=%userAppBinary%\\SBSFU_%execname%.elf""
set ""oemkey=""
set ""ecckey=%SBSFUBootLoader%\\1_Image_SECoreBin\\Binary\\ECCKEY%fwid%.txt""
set ""sbsfuelf=%SBSFUBootLoader%\\1_Image_SBSFU\\EWARM\\STM32L432KC_NUCLEO\\Exe\\project.out""
set ""magic=SFU%fwid%""
set ""offset=512""
::comment this line to force python
::python is used if windows executable not found
pushd %projectdir%\..\..\..\..\..\..\Middlewares\ST\STM32_Secure_Engine\Utilities\KeysAndImages
set basedir=%cd%
popd
goto exe:
goto py:
:exe
::line for window executable
echo Postbuild with windows executable
set ""prepareimage=%basedir%\\win\\prepareimage\\prepareimage.exe""
set ""python=""
if exist %prepareimage% (
goto postbuild
)
:py
::line for python
echo Postbuild with python script
set ""prepareimage=%basedir%\\prepareimage.py""
set ""python=python ""
:postbuild