Skip to content

Commit b34716f

Browse files
authored
meta: split up local and ci homebrew formula (#4593)
1 parent 1dfda25 commit b34716f

File tree

4 files changed

+15
-9
lines changed

4 files changed

+15
-9
lines changed

Brewfile

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,4 @@
11
brew 'clang-format'
22
brew 'swiftlint'
3-
brew 'carthage'
4-
brew 'rbenv'
53
brew 'pre-commit'
64
brew 'python3'
7-
tap 'facebook/fb'
8-
brew 'facebook/fb/idb-companion'
9-
tap 'mobile-dev-inc/tap'
10-
brew 'mobile-dev-inc/tap/maestro'

Brewfile-ci

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
tap 'facebook/fb'
2+
brew 'facebook/fb/idb-companion'
3+
tap 'mobile-dev-inc/tap'
4+
brew 'mobile-dev-inc/tap/maestro'
5+
brew 'carthage'
6+
brew 'rbenv'

Makefile

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,16 @@
22
init:
33
which brew || /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
44
brew bundle
5-
rbenv install --skip-existing
6-
rbenv exec gem update bundler
7-
rbenv exec bundle install
85
pre-commit install
96
clang-format --version | awk '{print $3}' > scripts/.clang-format-version
107
swiftlint version > scripts/.swiftlint-version
8+
9+
# installs the tools needed to test various CI tasks locally
10+
init-ci: init
11+
brew bundle --file Brewfile-ci
12+
rbenv install --skip-existing
13+
rbenv exec gem update bundler
14+
rbenv exec bundle install
1115

1216
.PHONY: check-versions
1317
check-versions:

Sentry.xcodeproj/project.pbxproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1749,6 +1749,7 @@
17491749
849B8F962C6E906900148E1F /* SentryUserFeedbackIntegrationDriver.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SentryUserFeedbackIntegrationDriver.swift; sourceTree = "<group>"; };
17501750
849B8F972C6E906900148E1F /* SentryUserFeedbackThemeConfiguration.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = SentryUserFeedbackThemeConfiguration.swift; path = Configuration/SentryUserFeedbackThemeConfiguration.swift; sourceTree = "<group>"; };
17511751
849B8F982C6E906900148E1F /* SentryUserFeedbackWidgetConfiguration.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = SentryUserFeedbackWidgetConfiguration.swift; path = Configuration/SentryUserFeedbackWidgetConfiguration.swift; sourceTree = "<group>"; };
1752+
849DF0522D00270A00A202DF /* Brewfile-ci */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; path = "Brewfile-ci"; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
17521753
84A305472BC72A0A00D84283 /* SentryAppLaunchProfilingTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SentryAppLaunchProfilingTests.swift; sourceTree = "<group>"; };
17531754
84A305552BC9EF8C00D84283 /* SentryTraceProfiler.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = SentryTraceProfiler.h; path = ../include/SentryTraceProfiler.h; sourceTree = "<group>"; };
17541755
84A305562BC9EF8C00D84283 /* SentryTraceProfiler.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = SentryTraceProfiler.mm; sourceTree = "<group>"; };
@@ -3830,6 +3831,7 @@
38303831
844DA80A28246D5000E6B62E /* .swiftlint.yml */,
38313832
843BD6282AD8752300B0098F /* .clang-format */,
38323833
844DA80B28246D5000E6B62E /* Brewfile */,
3834+
849DF0522D00270A00A202DF /* Brewfile-ci */,
38333835
);
38343836
name = Aux;
38353837
sourceTree = "<group>";

0 commit comments

Comments
 (0)