<div dir="ltr"><div>I am assuming by downloaded you meant Downloaded the zip from github.</div><div><br></div><div>Suppose you have all three downloaded side by side</div><div><br></div><div><div>some-dir</div><div>├── PlayingCard </div><div>├── FisherYates</div><div>└── DeckOfPlayingCards</div></div><div><br></div><div>since you downloaded as a zip and not cloned these directories will not be under git version control anymore.</div><div>place PlayCard and FisherYates under git and add tag to them as they are dependencies to DeckOfPlayingCards.</div><div>DeckOfPlayingCards need not be under git to be built.</div><div><br></div><div>$ cd PlayingCard</div><div>$ git init &amp;&amp; git add . &amp;&amp; git commit -m &quot;init&quot; &amp;&amp; git tag 1.0.0</div><div> </div><div>$ cd ../FisherYates</div><div>$ git init &amp;&amp; git add . &amp;&amp; git commit -m &quot;init&quot; &amp;&amp; git tag 1.0.0<br></div><div><br></div><div>$ cd ../DeckOfPlayingCards</div><div><br></div><div>edit Package.swift and change </div><div><br></div><div><div>`<a href="https://github.com/apple/example-package-fisheryates.git`">https://github.com/apple/example-package-fisheryates.git`</a> to `../FisherYates`</div><div>`<a href="https://github.com/apple/example-package-playingcard.git`">https://github.com/apple/example-package-playingcard.git`</a> to `../PlayingCar</div></div><div><br></div><div>$ swift build</div><div><br></div><div>done.</div><div><br></div><div><br></div>PS: This should be in swift-users or swift-build-dev<div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 7, 2016 at 9:58 AM, qibo_cn--- via swift-dev <span dir="ltr">&lt;<a href="mailto:swift-dev@swift.org" target="_blank">swift-dev@swift.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">hi all<br>
  i want to build dealer project in swift package-manager.because my ubuntu is not supported to connect github.so i dowload playingcard,fisheryates,deckofplaycards projects in local.build playingcatd and fisheryates successfully. how i shuold change the package.swift in deckofplaycards, to duild this project.</p>
<p dir="ltr">Best<br>
Bob<br></p>
<img src="https://u2002410.ct.sendgrid.net/wf/open?upn=AEA8HkHUydyAL-2BzBFOjUWiu699IjadiuYGpY2J4vIhAz3dZMzgHVg2-2BJSy8Rt5N0REDQBVahzPqGnEtV-2Bp7nIfHpxP6vwQdnRryT1r5HZ1-2FmOQIjQ9S90OJlPHv25bjdbBDPn-2BDRa-2BhnWzysHbd8JUWnB56k06rSnQXTAhIqTPH0yo45ZgEN2uPyjyV1k1pLCY0sgpnaGsw0rivD0lS-2FiQ-3D-3D" alt="" width="1" height="1" border="0" style="min-height:1px!important;width:1px!important;border-width:0!important;margin-top:0!important;margin-bottom:0!important;margin-right:0!important;margin-left:0!important;padding-top:0!important;padding-bottom:0!important;padding-right:0!important;padding-left:0!important">
<br>_______________________________________________<br>
swift-dev mailing list<br>
<a href="mailto:swift-dev@swift.org">swift-dev@swift.org</a><br>
<a href="https://lists.swift.org/mailman/listinfo/swift-dev" rel="noreferrer" target="_blank">https://lists.swift.org/mailman/listinfo/swift-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Ankit<br><br></div>
</div>