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.
since you downloaded as a zip and not cloned these directories will not be
under git version control anymore.
place PlayCard and FisherYates under git and add tag to them as they are
dependencies to DeckOfPlayingCards.
DeckOfPlayingCards need not be under git to be built.
$ cd PlayingCard
$ git init && git add . && git commit -m "init" && git tag 1.0.0
$ cd ../FisherYates
$ git init && git add . && git commit -m "init" && git tag 1.0.0
PS: This should be in swift-users or swift-build-dev
···
On Thu, Jan 7, 2016 at 9:58 AM, qibo_cn--- via swift-dev < swift-dev@swift.org> wrote:
hi all
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.
PS: This should be in swift-users or swift-build-dev
On Thu, Jan 7, 2016 at 9:58 AM, qibo_cn--- via swift-dev <swift-dev@swift.org> wrote:
hi all
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.
Ensure there are no uncommitted changes and then tag a new version in each local repository.
···
On Jan 6, 2016, at 11:03 PM, qibo_cn--- via swift-users <swift-users@swift.org> wrote:
thank you very much.
when i excu "swift build"in deckofplayingcard.
error:the dependency graph could not be satisfied(somedir/fisheryates).did i miss something?
Best
Bob
发件人: Ankit Agarwal
已发送: 1 月 7 日 星期四 下午 1:51
主题: Re: [swift-dev] how to write package.swift if i want to use dependency file in local?
收件人: qibo_cn@outlook.com
抄送: swift-dev@swift.org, swift-users@swift.org
I am assuming by downloaded you meant Downloaded the zip from github.
Suppose you have all three downloaded side by side
some-dir
├── PlayingCard
├── FisherYates
└── DeckOfPlayingCards
since you downloaded as a zip and not cloned these directories will not be under git version control anymore.
place PlayCard and FisherYates under git and add tag to them as they are dependencies to DeckOfPlayingCards.
DeckOfPlayingCards need not be under git to be built.
PS: This should be in swift-users or swift-build-dev
On Thu, Jan 7, 2016 at 9:58 AM, qibo_cn--- via swift-dev <swift-dev@swift.org <mailto:swift-dev@swift.org>> wrote:
hi all
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.