Requires the CocodaPods 'xcodeproj' gem.
@@ -8,6 +8,8 @@ all:
project:
swift package generate-xcodeproj
+ # Optional: set the generated project's indentation settings.
+ -ruby fix-indentation-settings.rb
test: all
swift test -v $(CFLAGS)
@@ -0,0 +1,7 @@
+require 'xcodeproj'
+project_path = './SwiftGRPC.xcodeproj'
+project = Xcodeproj::Project.open(project_path)
+project.main_group.uses_tabs = '0'
+project.main_group.tab_width = '2'
+project.main_group.indent_width = '2'
+project.save