Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove directories before symlinking, fixes installation from Gemfile
Browse files Browse the repository at this point in the history
Fixes #438
meleyal committed Jun 15, 2016
1 parent f09cef9 commit 4a25bc9
Showing 2 changed files with 11 additions and 0 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
## Master

##### Bug Fixes

* Fix issue where jazzy could not be installed from Gemfile due to
SourceKitten symlinks already being present.
[William Meleyal](https://github.com/meleyal)
[#438](https://github.com/realm/jazzy/issues/438)

## 0.7.0

##### Breaking
2 changes: 2 additions & 0 deletions lib/jazzy/SourceKitten/Rakefile
Original file line number Diff line number Diff line change
@@ -6,6 +6,8 @@ task :prepare do
Dir.chdir(fw) do
basename = File.basename(fw, '.framework')
FileUtils.rm_f(basename)
FileUtils.rm_f('Versions/Current')
FileUtils.rm_f('Resources')

File.symlink('A', 'Versions/Current')
File.symlink("Versions/Current/#{basename}", "#{basename}")

0 comments on commit 4a25bc9

Please sign in to comment.