Files
ichmagmaus111andClaude Opus 5.5 0622057a4f Ghostgram: open-source release
Ghostgram for iOS, rebuilt from scratch on Telegram iOS 13.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 17:57:09 +01:00

57 lines
1.8 KiB
Python

load("@build_bazel_rules_swift//swift:swift.bzl", "swift_library")
load("@build_bazel_rules_apple//apple:ios.bzl", "ios_unit_test")
load("@build_bazel_rules_apple//apple/testing/default_runner:ios_test_runner.bzl", "ios_test_runner")
swift_library(
name = "TelegramStringFormatting",
module_name = "TelegramStringFormatting",
srcs = glob([
"Sources/**/*.swift",
]),
copts = [
"-warnings-as-errors",
],
deps = [
# GHOST: appearance snapshot (exact «last seen» time)
"//Ghostgram/Features/Appearance:GGAppearanceSettings",
"//submodules/TelegramCore:TelegramCore",
"//submodules/Display:Display",
"//submodules/PlatformRestrictionMatching:PlatformRestrictionMatching",
"//submodules/LocalizedPeerData:LocalizedPeerData",
"//submodules/TextFormat:TextFormat",
"//submodules/Markdown:Markdown",
"//submodules/TelegramUIPreferences:TelegramUIPreferences",
"//submodules/TelegramPresentationData:TelegramPresentationData",
"//submodules/AppBundle:AppBundle",
],
visibility = [
"//visibility:public",
],
)
swift_library(
name = "TelegramStringFormattingTestsLib",
testonly = True,
srcs = glob(["Tests/**/*.swift"]),
deps = [
":TelegramStringFormatting",
"//submodules/TelegramCore:TelegramCore",
"//submodules/Postbox:Postbox",
"//submodules/TextFormat:TextFormat",
],
)
ios_test_runner(
name = "TelegramStringFormattingTestRunner",
device_type = "iPhone 17",
os_version = "26.5",
)
ios_unit_test(
name = "TelegramStringFormattingTests",
minimum_os_version = "15.0",
runner = ":TelegramStringFormattingTestRunner",
deps = [":TelegramStringFormattingTestsLib"],
visibility = ["//visibility:public"],
)