realm / jazzy

Soulful docs for Swift & Objective-C
https://realm.io
MIT License
7.35k stars 413 forks source link

Using existing build data for generating docs #330

Closed devxoul closed 9 years ago

devxoul commented 9 years ago

Hi,

I'd like to generate document on CI server, but xcodebuild takes too long to compile the whole project again just after the testing has done.

Can I use existing build data (which is generated during testing) for generating docs?

Thanks!

jpsim commented 9 years ago

Can I use existing build data (which is generated during testing) for generating docs?

Yes, but some changes would have to be made to SourceKitten to allow that. For example, instead of passing in xcodebuild arguments, SourceKitten would have to support passing raw swiftc arguments.

For now, I think the simplest solution would be to run jazzy before your CI server builds and tests your project.

devxoul commented 9 years ago

@jpsim, thanks for your answer. I'll check it :+1: