NuGet setup
parent
763f735e6a
commit
ef0e31818f
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,4 @@
|
||||
..\build\GlobalAssemblyInfo.cs
|
||||
|
||||
_MakeSetup.bat
|
||||
|
||||
Binary file not shown.
@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
|
||||
<metadata>
|
||||
<id>EntityFrameworkCore.Jet</id>
|
||||
<version>1.0.0</version>
|
||||
<authors>Bubi</authors>
|
||||
<owners>Bubi</owners>
|
||||
<projectUrl>https://github.com/bubibubi/EntityFrameworkCore.Jet</projectUrl>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
<description>Allows Jet (Microsoft Access mdb or accdb format files) to be used with Entity Framework Core</description>
|
||||
<summary>Allows Jet (Microsoft Access mdb or accdb format files) to be used with Entity Framework Core</summary>
|
||||
<releaseNotes>for EF Core 2.0</releaseNotes>
|
||||
<dependencies>
|
||||
<group targetFramework="net461">
|
||||
<dependency id="Microsoft.EntityFrameworkCore.Relational" version="2.0.0" />
|
||||
</group>
|
||||
</dependencies>
|
||||
</metadata>
|
||||
<files>
|
||||
<file src="..\src\EFCore.Jet\bin\Release\EntityFrameworkCore.Jet.dll" target="lib\net461\" />
|
||||
<file src="..\src\EFCore.Jet\bin\Release\System.Data.Jet.dll" target="lib\net461\" />
|
||||
</files>
|
||||
</package>
|
||||
Binary file not shown.
@ -0,0 +1,17 @@
|
||||
@echo Version = %VERSION%
|
||||
@echo Build with this version numbers (Ctrl + C to stop build)?
|
||||
pause
|
||||
|
||||
@Echo trying to create Output dir
|
||||
mkdir Output
|
||||
|
||||
call _MakeSetup_msbuild.bat
|
||||
|
||||
call _MakeSetup_Copy.bat
|
||||
|
||||
call _MakeSetup_Pack.bat
|
||||
|
||||
call _MakeSetup_Push.bat
|
||||
|
||||
notepad Output\MakeSetup.log
|
||||
|
||||
@ -0,0 +1 @@
|
||||
@echo Nothing to copy
|
||||
@ -0,0 +1,3 @@
|
||||
@echo Deleting al package files >> Output\Makesetup.log
|
||||
del /q Output\*.nupkg >> Output\Makesetup.log
|
||||
nuget pack EFCore.Jet.nuspec -version %VERSION% -OutputDirectory Output >> Output\Makesetup.log
|
||||
@ -0,0 +1,4 @@
|
||||
@echo Press enter to upload nuget files
|
||||
@pause
|
||||
SET PARAMETERS= -Verbosity detail
|
||||
FOR %%F IN (output\*.nupkg) DO nuget push %%F %PARAMETERS% >> output\Makesetup.log
|
||||
@ -0,0 +1,3 @@
|
||||
@echo ========================================================= > Output\MakeSetup.log
|
||||
call "%VS140COMNTOOLS%\vsvars32.bat"
|
||||
msbuild ..\EntityFrameworkCore.Jet.sln /p:Configuration=Release /p:Platform="Any CPU" >> Output\MakeSetup.log
|
||||
Loading…
Reference in New Issue