Skip to content

Commit

Permalink
Generate nuget packages
Browse files Browse the repository at this point in the history
  • Loading branch information
tuyen-vuduc committed Sep 16, 2017
1 parent 46e1413 commit aee4336
Show file tree
Hide file tree
Showing 16 changed files with 30 additions and 6 deletions.
Binary file added Naxam.BrainTreeCore.iOS.4.9.0.nupkg
Binary file not shown.
Binary file added Naxam.Braintree3DSecure.iOS.4.9.0.nupkg
Binary file not shown.
Binary file added Naxam.BraintreeApplePay.iOS.4.9.0.nupkg
Binary file not shown.
Binary file added Naxam.BraintreeCard.iOS.4.9.0.nupkg
Binary file not shown.
Binary file added Naxam.BraintreeDataCollector.iOS.4.9.0.nupkg
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<Reference Include="System" />
<Reference Include="Xamarin.iOS" />
<Reference Include="Naxam.Kount.iOS">
<HintPath>..\packages\Naxam.Kount.iOS.3.1\lib\Xamarin.iOS10\Naxam.Kount.iOS.dll</HintPath>
<HintPath>..\packages\Naxam.Kount.iOS.3.2\lib\Xamarin.iOS10\Naxam.Kount.iOS.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
Expand All @@ -51,14 +51,14 @@
<SmartLink>False</SmartLink>
</NativeReference>
</ItemGroup>
<ItemGroup>
<BundleResource Include="packages.config" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Naxam.BrainTreeCore.iOS\Naxam.BrainTreeCore.iOS.csproj">
<Project>{CD32710E-D053-4BBF-8A9B-359E65A2671C}</Project>
<Name>Naxam.BrainTreeCore.iOS</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<BundleResource Include="packages.config" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.ObjCBinding.CSharp.targets" />
</Project>
2 changes: 1 addition & 1 deletion Naxam.BraintreeDataCollector.iOS/packages.config
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Naxam.Kount.iOS" version="3.1" targetFramework="xamarinios10" />
<package id="Naxam.Kount.iOS" version="3.2" targetFramework="xamarinios10" />
</packages>
Binary file added Naxam.BraintreePayPal.iOS.4.9.0.nupkg
Binary file not shown.
Binary file added Naxam.BraintreeUI.iOS.4.9.0.nupkg
Binary file not shown.
Binary file added Naxam.BraintreeUnionPay.iOS.4.9.0.nupkg
Binary file not shown.
Binary file added Naxam.BraintreeVenmo.iOS.4.9.0.nupkg
Binary file not shown.
Binary file added Naxam.PayPalDataCollector.iOS.4.9.0.nupkg
Binary file not shown.
Binary file added Naxam.PayPalOneTouch.iOS.4.9.0.nupkg
Binary file not shown.
Binary file added Naxam.PayPalUtils.iOS.4.9.0.nupkg
Binary file not shown.
2 changes: 1 addition & 1 deletion braintree-datacollector.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<tags>Xamarin.iOS, braintree, data-collector, braintree-data-collector</tags>
<dependencies>
<dependency id="Naxam.BraintreeCore.iOS" version="4.9.0" />
<dependency id="Naxam.Kount.iOS" version="3.1" />
<dependency id="Naxam.Kount.iOS" version="3.2" />
</dependencies>
</metadata>
<!-- Optional 'files' node -->
Expand Down
24 changes: 24 additions & 0 deletions nuget-pack.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#! /bin/bash

function generate() {
nuget pack $1.nuspec
}

frameworks=(
braintree-3dsecure
braintree-applepay
braintree-card
braintree-core
braintree-datacollector
braintree-paypal
braintree-venmo
braintree-ui
braintree-unionpay
paypal-datacollector
paypal-onetouch
paypal-utils
)
for framework in "${frameworks[@]}"
do
generate $framework
done

0 comments on commit aee4336

Please sign in to comment.