Skip to content

Commit

Permalink
meta: split up local and ci homebrew formula (#4593)
Browse files Browse the repository at this point in the history
  • Loading branch information
armcknight authored Dec 4, 2024
1 parent 1dfda25 commit b34716f
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 9 deletions.
6 changes: 0 additions & 6 deletions Brewfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
brew 'clang-format'
brew 'swiftlint'
brew 'carthage'
brew 'rbenv'
brew 'pre-commit'
brew 'python3'
tap 'facebook/fb'
brew 'facebook/fb/idb-companion'
tap 'mobile-dev-inc/tap'
brew 'mobile-dev-inc/tap/maestro'
6 changes: 6 additions & 0 deletions Brewfile-ci
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
tap 'facebook/fb'
brew 'facebook/fb/idb-companion'
tap 'mobile-dev-inc/tap'
brew 'mobile-dev-inc/tap/maestro'
brew 'carthage'
brew 'rbenv'
10 changes: 7 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,16 @@
init:
which brew || /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew bundle
rbenv install --skip-existing
rbenv exec gem update bundler
rbenv exec bundle install
pre-commit install
clang-format --version | awk '{print $3}' > scripts/.clang-format-version
swiftlint version > scripts/.swiftlint-version

# installs the tools needed to test various CI tasks locally
init-ci: init
brew bundle --file Brewfile-ci
rbenv install --skip-existing
rbenv exec gem update bundler
rbenv exec bundle install

.PHONY: check-versions
check-versions:
Expand Down
2 changes: 2 additions & 0 deletions Sentry.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1749,6 +1749,7 @@
849B8F962C6E906900148E1F /* SentryUserFeedbackIntegrationDriver.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SentryUserFeedbackIntegrationDriver.swift; sourceTree = "<group>"; };
849B8F972C6E906900148E1F /* SentryUserFeedbackThemeConfiguration.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = SentryUserFeedbackThemeConfiguration.swift; path = Configuration/SentryUserFeedbackThemeConfiguration.swift; sourceTree = "<group>"; };
849B8F982C6E906900148E1F /* SentryUserFeedbackWidgetConfiguration.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = SentryUserFeedbackWidgetConfiguration.swift; path = Configuration/SentryUserFeedbackWidgetConfiguration.swift; sourceTree = "<group>"; };
849DF0522D00270A00A202DF /* Brewfile-ci */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; path = "Brewfile-ci"; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
84A305472BC72A0A00D84283 /* SentryAppLaunchProfilingTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SentryAppLaunchProfilingTests.swift; sourceTree = "<group>"; };
84A305552BC9EF8C00D84283 /* SentryTraceProfiler.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = SentryTraceProfiler.h; path = ../include/SentryTraceProfiler.h; sourceTree = "<group>"; };
84A305562BC9EF8C00D84283 /* SentryTraceProfiler.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = SentryTraceProfiler.mm; sourceTree = "<group>"; };
Expand Down Expand Up @@ -3830,6 +3831,7 @@
844DA80A28246D5000E6B62E /* .swiftlint.yml */,
843BD6282AD8752300B0098F /* .clang-format */,
844DA80B28246D5000E6B62E /* Brewfile */,
849DF0522D00270A00A202DF /* Brewfile-ci */,
);
name = Aux;
sourceTree = "<group>";
Expand Down

0 comments on commit b34716f

Please sign in to comment.