Skip to content

Commit

Permalink
Remove BUCK support (#1632)
Browse files Browse the repository at this point in the history
None of the core maintainers uses BUCK and so the build files are not maintained. Let's remove them to clean up the repo.
  • Loading branch information
nguyenhuy committed Aug 22, 2019
1 parent 015e4e4 commit 44aecb3
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 408 deletions.
22 changes: 0 additions & 22 deletions .buckconfig

This file was deleted.

1 change: 0 additions & 1 deletion .buckversion

This file was deleted.

5 changes: 0 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,6 @@ build
timeline.xctimeline
playground.xcworkspace

# Buck
/buck-out
/.buckconfig.local
/.buckd

# Carthage
Carthage/Checkouts
Carthage/Build
194 changes: 0 additions & 194 deletions BUCK

This file was deleted.

22 changes: 0 additions & 22 deletions Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,4 @@ target :'AsyncDisplayKitTests' do
pod 'OCMock', '=3.4.1' # 3.4.2 currently has issues.
pod 'FBSnapshotTestCase/Core', '~> 2.1'
pod 'JGMethodSwizzler', :git => 'https://github.com/JonasGessner/JGMethodSwizzler', :branch => 'master'

# Only for buck build
pod 'PINRemoteImage', '3.0.0-beta.14'
end

#TODO CocoaPods plugin instead?
post_install do |installer|
require 'fileutils'

# Assuming we're at the root dir
buck_files_dir = 'buck-files'
if File.directory?(buck_files_dir)
installer.pod_targets.flat_map do |pod_target|
pod_name = pod_target.pod_name
# Copy the file at buck-files/BUCK_pod_name to Pods/pod_name/BUCK,
# override existing file if needed
buck_file = buck_files_dir + '/BUCK_' + pod_name
if File.file?(buck_file)
FileUtils.cp(buck_file, 'Pods/' + pod_name + '/BUCK', :preserve => false)
end
end
end
end
12 changes: 0 additions & 12 deletions buck-files/BUCK_FBSnapshotTestCase

This file was deleted.

18 changes: 0 additions & 18 deletions buck-files/BUCK_FLAnimatedImage

This file was deleted.

9 changes: 0 additions & 9 deletions buck-files/BUCK_JGMethodSwizzler

This file was deleted.

9 changes: 0 additions & 9 deletions buck-files/BUCK_OCMock

This file was deleted.

23 changes: 0 additions & 23 deletions buck-files/BUCK_PINCache

This file was deleted.

Loading

0 comments on commit 44aecb3

Please sign in to comment.