Skip to content

Commit

Permalink
Remove directories before symlinking, fixes installation from Gemfile
Browse files Browse the repository at this point in the history
Fixes #438
  • Loading branch information
meleyal authored and jpsim committed Jun 15, 2016
1 parent 2b31116 commit 8b88e33
Show file tree
Hide file tree
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
Expand Down
2 changes: 2 additions & 0 deletions lib/jazzy/SourceKitten/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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}")
Expand Down

0 comments on commit 8b88e33

Please sign in to comment.