File tree Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Original file line number Diff line number Diff line change 1
- if not exist " ./NuGet Packages" mkdir " ./NuGet Packages"
2
- call " .nuget/NuGet.exe" pack NHibernate.Spatial.MsSql\NHibernate.Spatial.MsSql.csproj -Build -IncludeReferencedProjects -Properties Configuration=Release -OutputDirectory " ./NuGet Packages"
3
- call " .nuget/NuGet.exe" pack NHibernate.Spatial.MySQL\NHibernate.Spatial.MySQL.csproj -Build -IncludeReferencedProjects -Properties Configuration=Release -OutputDirectory " ./NuGet Packages"
4
- call " .nuget/NuGet.exe" pack NHibernate.Spatial.PostGis\NHibernate.Spatial.PostGis.csproj -Build -IncludeReferencedProjects -Properties Configuration=Release -OutputDirectory " ./NuGet Packages"
5
- call " .nuget/NuGet.exe" pack NHibernate.Spatial.Oracle\NHibernate.Spatial.Oracle.csproj -Build -IncludeReferencedProjects -Properties Configuration=Release -OutputDirectory " ./NuGet Packages"
1
+ @ echo off
2
+
3
+ REM Create output directory
4
+ set solution_dir = %~dp0
5
+ set output_dir = " %solution_dir% \NuGet Packages"
6
+ if not exist %output_dir% mkdir %output_dir%
7
+
8
+ REM Build NuGet packages
9
+ set options = --configuration Release --output %output_dir%
10
+ dotnet pack %options% NHibernate.Spatial
11
+ dotnet pack %options% NHibernate.Spatial.MsSql
12
+ dotnet pack %options% NHibernate.Spatial.MySQL
13
+ REM dotnet pack %options% NHibernate.Spatial.Oracle
14
+ dotnet pack %options% NHibernate.Spatial.PostGis
You can’t perform that action at this time.
0 commit comments