Skip to content

Commit

Permalink
Merge pull request #59 from krystxf/refactor/app-file-names
Browse files Browse the repository at this point in the history
refactor(app): file names
  • Loading branch information
krystxf authored Dec 3, 2024
2 parents 12bc445 + a3df1ba commit cd37c30
Show file tree
Hide file tree
Showing 45 changed files with 19 additions and 19 deletions.
34 changes: 17 additions & 17 deletions apps/mobile/metro-now/metro-now.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -78,41 +78,41 @@
2D7FEC812CE96F830073FF5B /* Exceptions for "common" folder in "metro-nowTests" target */ = {
isa = PBXFileSystemSynchronizedBuildFileExceptionSet;
membershipExceptions = (
"components/countdown-view/countdown.utils.swift",
"components/route-label-view/get-color-by-route-name.utils.swift",
"components/route-label-view/route-type.enum.swift",
components/countdown/countdown.utils.swift,
"components/route-name-icon/get-color-by-route-name.utils.swift",
"components/route-name-icon/route-type.enum.swift",
const/api.const.swift,
const/github.const.swift,
"const/review-url.const.swift",
"types/api-types.swift",
utils/array.utils.swift,
utils/color.utils.swift,
"utils/get-platform-label.swift",
"utils/is-metro.utils.swift",
utils/getPlatformLabel.swift,
utils/isMetro.swift,
utils/network.utils.swift,
utils/station.utils.swift,
utils/shortenStopName.swift,
);
target = 2D7FEC762CE96F300073FF5B /* metro-nowTests */;
};
2D9601C92CC812EF000EF3D5 /* Exceptions for "common" folder in "metro-now Watch App" target */ = {
isa = PBXFileSystemSynchronizedBuildFileExceptionSet;
membershipExceptions = (
"components/countdown-view/countdown.swift",
"components/countdown-view/countdown.utils.swift",
"components/route-label-view/get-color-by-route-name.utils.swift",
"components/route-label-view/route-name.view.swift",
"components/route-label-view/route-type.enum.swift",
components/countdown/countdown.utils.swift,
components/countdown/CountdownView.swift,
"components/route-name-icon/get-color-by-route-name.utils.swift",
"components/route-name-icon/route-type.enum.swift",
"components/route-name-icon/RouteNameIconView.swift",
const/api.const.swift,
const/github.const.swift,
"const/review-url.const.swift",
"types/api-types.swift",
utils/array.utils.swift,
utils/color.utils.swift,
"utils/find-closest-stop.swift",
"utils/get-platform-label.swift",
"utils/is-metro.utils.swift",
utils/getPlatformLabel.swift,
utils/isMetro.swift,
utils/network.utils.swift,
utils/station.utils.swift,
utils/shortenStopName.swift,
);
target = 2D001BB72CC8099C00C6B4F8 /* metro-now Watch App */;
};
Expand All @@ -126,9 +126,9 @@
2DFF3B692CFD3D9600D8AB90 /* Exceptions for "common" folder in "widgetsExtension" target */ = {
isa = PBXFileSystemSynchronizedBuildFileExceptionSet;
membershipExceptions = (
"components/route-label-view/get-color-by-route-name.utils.swift",
"components/route-label-view/route-name.view.swift",
"components/route-label-view/route-type.enum.swift",
"components/route-name-icon/get-color-by-route-name.utils.swift",
"components/route-name-icon/route-type.enum.swift",
"components/route-name-icon/RouteNameIconView.swift",
const/api.const.swift,
"types/api-types.swift",
utils/color.utils.swift,
Expand Down
4 changes: 2 additions & 2 deletions apps/mobile/metro-now/metro-nowTests/endpoint.test.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ import Testing
@Test("ENDPOINT")
func endpoint() async throws {
#expect(
!ENDPOINT.contains("localhost"),
!API_URL.contains("localhost"),
"ENDPOINT should not contain localhost"
)

#expect(
URL(string: ENDPOINT) != nil,
URL(string: API_URL) != nil,
"ENDPOINT should be valid URL"
)
}

1 comment on commit cd37c30

@vercel
Copy link

@vercel vercel bot commented on cd37c30 Dec 3, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.