Skip to content

Commit

Permalink
Appveyor nuget integration (#949)
Browse files Browse the repository at this point in the history
  • Loading branch information
mogikanin committed Mar 11, 2017
1 parent 4d649f7 commit 62104e3
Show file tree
Hide file tree
Showing 60 changed files with 506 additions and 421 deletions.
26 changes: 26 additions & 0 deletions Source/.nuget/Pack.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
cd ..
call Compile.cmd

cd .nuGet

del *.nupkg

Set NugetVersion=2.0.0-rc1
Set PackageVersion=2.0.0-rc1

nuget pack ..\DotSpatial.Analysis\DotSpatial.Analysis.csproj -version "%NugetVersion%" -Properties "PackageVersion=%PackageVersion%";"Configuration=Release"
nuget pack ..\DotSpatial.Compatibility\DotSpatial.Compatibility.csproj -version "%NugetVersion%" -Properties "PackageVersion=%PackageVersion%";"Configuration=Release"
nuget pack ..\DotSpatial.Controls\DotSpatial.Controls.csproj -version "%NugetVersion%" -Properties "PackageVersion=%PackageVersion%";"Configuration=Release"
nuget pack ..\DotSpatial.Data\DotSpatial.Data.csproj -version "%NugetVersion%" -Properties "PackageVersion=%PackageVersion%";"Configuration=Release"
nuget pack ..\DotSpatial.Data.Forms\DotSpatial.Data.Forms.csproj -version "%NugetVersion%" -Properties "PackageVersion=%PackageVersion%";"Configuration=Release"
nuget pack ..\DotSpatial.Extensions\DotSpatial.Extensions.csproj -version "%NugetVersion%" -Properties "PackageVersion=%PackageVersion%";"Configuration=Release"
nuget pack ..\DotSpatial.Modeling.Forms\DotSpatial.Modeling.Forms.csproj -version "%NugetVersion%" -Properties "PackageVersion=%PackageVersion%";"Configuration=Release"
nuget pack ..\DotSpatial.NTSExtension\DotSpatial.NTSExtension.csproj -version "%NugetVersion%" -Properties "PackageVersion=%PackageVersion%";"Configuration=Release"
nuget pack ..\DotSpatial.Positioning\DotSpatial.Positioning.csproj -version "%NugetVersion%" -Properties "PackageVersion=%PackageVersion%";"Configuration=Release"
nuget pack ..\DotSpatial.Positioning.Design\DotSpatial.Positioning.Design.csproj -version "%NugetVersion%" -Properties "PackageVersion=%PackageVersion%";"Configuration=Release"
nuget pack ..\DotSpatial.Positioning.Forms\DotSpatial.Positioning.Forms.csproj -version "%NugetVersion%" -Properties "PackageVersion=%PackageVersion%";"Configuration=Release"
nuget pack ..\DotSpatial.Projections\DotSpatial.Projections.csproj -version "%NugetVersion%" -Properties "PackageVersion=%PackageVersion%";"Configuration=Release"
nuget pack ..\DotSpatial.Projections.Forms\DotSpatial.Projections.Forms.csproj -version "%NugetVersion%" -Properties "PackageVersion=%PackageVersion%";"Configuration=Release"
nuget pack ..\DotSpatial.Serialization\DotSpatial.Serialization.csproj -version "%NugetVersion%" -Properties "PackageVersion=%PackageVersion%";"Configuration=Release"
nuget pack ..\DotSpatial.Symbology\DotSpatial.Symbology.csproj -version "%NugetVersion%" -Properties "PackageVersion=%PackageVersion%";"Configuration=Release"
nuget pack ..\DotSpatial.Symbology.Forms\DotSpatial.Symbology.Forms.csproj -version "%NugetVersion%" -Properties "PackageVersion=%PackageVersion%";"Configuration=Release"
2 changes: 2 additions & 0 deletions Source/.nuget/Push.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
NuGet Push *.nupkg
del *.nupkg
2 changes: 2 additions & 0 deletions Source/Compile.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
"%ProgramFiles(x86)%\MSBuild\12.0\Bin\MSBuild.exe" DotSpatial.sln /target:Clean /property:Configuration=Release
"%ProgramFiles(x86)%\MSBuild\12.0\Bin\MSBuild.exe" DotSpatial.sln /target:ReBuild /property:Configuration=Release
2 changes: 1 addition & 1 deletion Source/DemoMap/DemoMap.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<SccLocalPath>SAK</SccLocalPath>
<SccAuxPath>SAK</SccAuxPath>
<SccProvider>SAK</SccProvider>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\dotSpatial\</SolutionDir>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..</SolutionDir>
<RestorePackages>true</RestorePackages>
</PropertyGroup>
<PropertyGroup>
Expand Down
4 changes: 2 additions & 2 deletions Source/DotSpatial.Analysis/DotSpatial.Analysis.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<SccLocalPath>SAK</SccLocalPath>
<SccAuxPath>SAK</SccAuxPath>
<SccProvider>SAK</SccProvider>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\dotSpatial\</SolutionDir>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..</SolutionDir>
<RestorePackages>true</RestorePackages>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Expand Down Expand Up @@ -82,7 +82,7 @@
<ItemGroup>
<None Include="app.config" />
<None Include="DotSpatial.Analysis.snk" />
<None Include="package.nuspec">
<None Include="DotSpatial.Analysis.nuspec">
<SubType>Designer</SubType>
</None>
<None Include="packages.config" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>$id$</id>
<version>$version$</version>
<authors>$author$</authors>
<description>$description$</description>
<owners />
<licenseUrl>https://github.com/DotSpatial/DotSpatial/blob/master/LICENSE</licenseUrl>
<projectUrl>https://github.com/DotSpatial/DotSpatial/</projectUrl>
<iconUrl>http://download.codeplex.com/Download?ProjectName=dotspatial&amp;DownloadId=246554</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<summary />
<language>en-US</language>
<tags>Spatial GIS DotSpatial</tags>
<dependencies>
<dependency id="DotSpatial.Controls" version="2.0"/>
<dependency id="DotSpatial.Data" version="2.0"/>
<dependency id="DotSpatial.Data.Forms" version="2.0"/>
<dependency id="DotSpatial.Projections" version="2.0"/>
<dependency id="DotSpatial.Symbology" version="2.0"/>
<dependency id="DotSpatial.NetTopologySuite" />
<dependency id="DotSpatial.GeoAPI" />
</dependencies>
</metadata>
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>$id$</id>
<version>$version$</version>
<authors>$author$</authors>
<description>$description$</description>
<owners />
<licenseUrl>https://github.com/DotSpatial/DotSpatial/blob/master/LICENSE</licenseUrl>
<projectUrl>https://github.com/DotSpatial/DotSpatial/</projectUrl>
<iconUrl>http://download.codeplex.com/Download?ProjectName=dotspatial&amp;DownloadId=246554</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<summary />
<language>en-US</language>
<tags>Spatial GIS DotSpatial</tags>
<dependencies>
<dependency id="DotSpatial.Controls" version="$PackageVersion$"/>
<dependency id="DotSpatial.Data" version="$PackageVersion$"/>
<dependency id="DotSpatial.Data.Forms" version="$PackageVersion$"/>
<dependency id="DotSpatial.Projections" version="$PackageVersion$"/>
<dependency id="DotSpatial.Symbology" version="$PackageVersion$"/>
<dependency id="DotSpatial.NetTopologySuite" />
<dependency id="DotSpatial.GeoAPI" />
</dependencies>
</metadata>
</package>
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<SccLocalPath>SAK</SccLocalPath>
<SccAuxPath>SAK</SccAuxPath>
<SccProvider>SAK</SccProvider>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\dotSpatial\</SolutionDir>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..</SolutionDir>
<RestorePackages>true</RestorePackages>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Expand Down Expand Up @@ -133,7 +133,7 @@
<ItemGroup>
<None Include="app.config" />
<None Include="DotSpatial.Compatibility.snk" />
<None Include="package.nuspec">
<None Include="DotSpatial.Compatibility.nuspec">
<SubType>Designer</SubType>
</None>
<None Include="packages.config" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>$id$</id>
<version>$version$</version>
<authors>$author$</authors>
<description>$description$</description>
<owners />
<licenseUrl>https://github.com/DotSpatial/DotSpatial/blob/master/LICENSE</licenseUrl>
<projectUrl>https://github.com/DotSpatial/DotSpatial/</projectUrl>
<iconUrl>http://download.codeplex.com/Download?ProjectName=dotspatial&amp;DownloadId=246554</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<summary />
<language>en-US</language>
<tags>Spatial GIS DotSpatial</tags>
<dependencies>
<dependency id="DotSpatial.Controls" version="2.0"/>
<dependency id="DotSpatial.Data" version="2.0"/>
<dependency id="DotSpatial.Symbology" version="2.0"/>
<dependency id="DotSpatial.NetTopologySuite" />
<dependency id="DotSpatial.GeoAPI" />
</dependencies>
</metadata>
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>$id$</id>
<version>$version$</version>
<authors>$author$</authors>
<description>$description$</description>
<owners />
<licenseUrl>https://github.com/DotSpatial/DotSpatial/blob/master/LICENSE</licenseUrl>
<projectUrl>https://github.com/DotSpatial/DotSpatial/</projectUrl>
<iconUrl>http://download.codeplex.com/Download?ProjectName=dotspatial&amp;DownloadId=246554</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<summary />
<language>en-US</language>
<tags>Spatial GIS DotSpatial</tags>
<dependencies>
<dependency id="DotSpatial.Controls" version="$PackageVersion$"/>
<dependency id="DotSpatial.Data" version="$PackageVersion$"/>
<dependency id="DotSpatial.Symbology" version="$PackageVersion$"/>
<dependency id="DotSpatial.NetTopologySuite" />
<dependency id="DotSpatial.GeoAPI" />
</dependencies>
</metadata>
</package>
4 changes: 2 additions & 2 deletions Source/DotSpatial.Controls/DotSpatial.Controls.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<SccLocalPath>SAK</SccLocalPath>
<SccAuxPath>SAK</SccAuxPath>
<SccProvider>SAK</SccProvider>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\dotSpatial\</SolutionDir>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..</SolutionDir>
<RestorePackages>true</RestorePackages>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Expand Down Expand Up @@ -447,7 +447,7 @@
<EmbeddedResource Include="Resources\SpatialStatusStrip.ico" />
<None Include="app.config" />
<None Include="DotSpatial.Controls.snk" />
<None Include="package.nuspec">
<None Include="DotSpatial.Controls.nuspec">
<SubType>Designer</SubType>
</None>
<None Include="packages.config" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>$id$</id>
<version>$version$</version>
<authors>$author$</authors>
<description>$description$</description>
<owners />
<licenseUrl>https://github.com/DotSpatial/DotSpatial/blob/master/LICENSE</licenseUrl>
<projectUrl>https://github.com/DotSpatial/DotSpatial/</projectUrl>
<iconUrl>http://download.codeplex.com/Download?ProjectName=dotspatial&amp;DownloadId=246554</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<summary />
<language>en-US</language>
<tags>Spatial GIS DotSpatial</tags>
<dependencies>
<dependency id="DotSpatial.Data" version="2.0"/>
<dependency id="DotSpatial.Data.Forms" version="2.0" />
<dependency id="DotSpatial.Extensions" version="2.0" />
<dependency id="DotSpatial.Modeling.Forms" version="2.0" />
<dependency id="DotSpatial.Projections" version="2.0" />
<dependency id="DotSpatial.Projections.Forms" version="2.0"/>
<dependency id="DotSpatial.Serialization" version="2.0"/>
<dependency id="DotSpatial.Symbology" version="2.0" />
<dependency id="DotSpatial.Symbology.Forms" version="2.0"/>
<dependency id="DotSpatial.NetTopologySuite" />
<dependency id="DotSpatial.GeoAPI" />
</dependencies>
</metadata>
<files>
<file src="$solutiondir$\bin\$configuration$\**\$id$.resources.dll" target="lib\net40-Client\" />
</files>
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>$id$</id>
<version>$version$</version>
<authors>$author$</authors>
<description>$description$</description>
<owners />
<licenseUrl>https://github.com/DotSpatial/DotSpatial/blob/master/LICENSE</licenseUrl>
<projectUrl>https://github.com/DotSpatial/DotSpatial/</projectUrl>
<iconUrl>http://download.codeplex.com/Download?ProjectName=dotspatial&amp;DownloadId=246554</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<summary />
<language>en-US</language>
<tags>Spatial GIS DotSpatial</tags>
<dependencies>
<dependency id="DotSpatial.Data" version="$PackageVersion$"/>
<dependency id="DotSpatial.Data.Forms" version="$PackageVersion$" />
<dependency id="DotSpatial.Extensions" version="$PackageVersion$" />
<dependency id="DotSpatial.Modeling.Forms" version="$PackageVersion$" />
<dependency id="DotSpatial.Projections" version="$PackageVersion$" />
<dependency id="DotSpatial.Projections.Forms" version="$PackageVersion$"/>
<dependency id="DotSpatial.Serialization" version="$PackageVersion$"/>
<dependency id="DotSpatial.Symbology" version="$PackageVersion$" />
<dependency id="DotSpatial.Symbology.Forms" version="$PackageVersion$"/>
<dependency id="DotSpatial.NetTopologySuite" />
<dependency id="DotSpatial.GeoAPI" />
</dependencies>
</metadata>
<files>
<file src="$solutiondir$\bin\$configuration$\**\$id$.resources.dll" target="lib\net40-Client\" />
</files>
</package>
4 changes: 2 additions & 2 deletions Source/DotSpatial.Data.Forms/DotSpatial.Data.Forms.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<SccLocalPath>SAK</SccLocalPath>
<SccAuxPath>SAK</SccAuxPath>
<SccProvider>SAK</SccProvider>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\dotSpatial\</SolutionDir>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..</SolutionDir>
<RestorePackages>true</RestorePackages>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Expand Down Expand Up @@ -163,7 +163,7 @@
</ItemGroup>
<ItemGroup>
<None Include="DotSpatial.Data.Forms.snk" />
<None Include="package.nuspec" />
<None Include="DotSpatial.Data.Forms.nuspec" />
<None Include="packages.config" />
<None Include="Resources\FileFolder.png" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>$id$</id>
<version>$version$</version>
<authors>$author$</authors>
<description>$description$</description>
<owners />
<licenseUrl>https://github.com/DotSpatial/DotSpatial/blob/master/LICENSE</licenseUrl>
<projectUrl>https://github.com/DotSpatial/DotSpatial/</projectUrl>
<iconUrl>http://download.codeplex.com/Download?ProjectName=dotspatial&amp;DownloadId=246554</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<summary />
<language>en-US</language>
<tags>Spatial GIS DotSpatial</tags>
<dependencies>
<dependency id="DotSpatial.Data" version="2.0"/>
<dependency id="DotSpatial.Projections.Forms" version="2.0" />
<dependency id="DotSpatial.Serialization" version="2.0" />
<dependency id="DotSpatial.Symbology" version="2.0" />
<dependency id="DotSpatial.NetTopologySuite" />
<dependency id="DotSpatial.GeoAPI" />
</dependencies>
</metadata>
<files>
<file src="$solutiondir$\bin\$configuration$\**\$id$.resources.dll" target="lib\net40-Client\" />
</files>
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>$id$</id>
<version>$version$</version>
<authors>$author$</authors>
<description>$description$</description>
<owners />
<licenseUrl>https://github.com/DotSpatial/DotSpatial/blob/master/LICENSE</licenseUrl>
<projectUrl>https://github.com/DotSpatial/DotSpatial/</projectUrl>
<iconUrl>http://download.codeplex.com/Download?ProjectName=dotspatial&amp;DownloadId=246554</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<summary />
<language>en-US</language>
<tags>Spatial GIS DotSpatial</tags>
<dependencies>
<dependency id="DotSpatial.Data" version="$PackageVersion$"/>
<dependency id="DotSpatial.Projections.Forms" version="$PackageVersion$" />
<dependency id="DotSpatial.Serialization" version="$PackageVersion$" />
<dependency id="DotSpatial.Symbology" version="$PackageVersion$" />
<dependency id="DotSpatial.NetTopologySuite" />
<dependency id="DotSpatial.GeoAPI" />
</dependencies>
</metadata>
<files>
<file src="$solutiondir$\bin\$configuration$\**\$id$.resources.dll" target="lib\net40-Client\" />
</files>
</package>
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<SccLocalPath>SAK</SccLocalPath>
<SccAuxPath>SAK</SccAuxPath>
<SccProvider>SAK</SccProvider>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\dotSpatial\</SolutionDir>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..</SolutionDir>
<RestorePackages>true</RestorePackages>
<NuGetPackageImportStamp>a025a30f</NuGetPackageImportStamp>
</PropertyGroup>
Expand Down
4 changes: 2 additions & 2 deletions Source/DotSpatial.Data/DotSpatial.Data.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<SccLocalPath>SAK</SccLocalPath>
<SccAuxPath>SAK</SccAuxPath>
<SccProvider>SAK</SccProvider>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\dotSpatial\</SolutionDir>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..</SolutionDir>
<RestorePackages>true</RestorePackages>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Expand Down Expand Up @@ -348,7 +348,7 @@
<ItemGroup>
<None Include="app.config" />
<None Include="DotSpatial.Data.4.0.snk" />
<None Include="package.nuspec" />
<None Include="DotSpatial.Data.nuspec" />
<None Include="packages.config" />
<None Include="Properties\Settings.settings">
<Generator>PublicSettingsSingleFileGenerator</Generator>
Expand Down
Loading

0 comments on commit 62104e3

Please sign in to comment.