forked from TelegramMessenger/Telegram-iOS
-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
525 changed files
with
36,719 additions
and
12,277 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
6.3.2 | ||
7.1.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +0,0 @@ | ||
load("@bazel_gazelle//:def.bzl", "gazelle", "gazelle_binary") | ||
load("@rules_swift_package_manager//swiftpkg:defs.bzl", "swift_update_packages") | ||
|
||
# Ignore the `.build` folder that is created by running Swift package manager | ||
# commands. The Swift Gazelle plugin executes some Swift package manager | ||
# commands to resolve external dependencies. This results in a `.build` file | ||
# being created. | ||
# NOTE: Swift package manager is not used to build any of the external packages. | ||
# The `.build` directory should be ignored. Be sure to configure your source | ||
# control to ignore it (i.e., add it to your `.gitignore`). | ||
# gazelle:exclude .build | ||
|
||
# This declaration builds a Gazelle binary that incorporates all of the Gazelle | ||
# plugins for the languages that you use in your workspace. In this example, we | ||
# are only listing the Gazelle plugin for Swift from rules_swift_package_manager. | ||
gazelle_binary( | ||
name = "gazelle_bin", | ||
languages = [ | ||
"@rules_swift_package_manager//gazelle", | ||
], | ||
) | ||
|
||
# This macro defines two targets: `swift_update_pkgs` and | ||
# `swift_update_pkgs_to_latest`. | ||
# | ||
# The `swift_update_pkgs` target should be run whenever the list of external | ||
# dependencies is updated in the `Package.swift`. Running this target will | ||
# populate the `swift_deps.bzl` with `swift_package` declarations for all of | ||
# the direct and transitive Swift packages that your project uses. | ||
# | ||
# The `swift_update_pkgs_to_latest` target should be run when you want to | ||
# update your Swift dependencies to their latest eligible version. | ||
swift_update_packages( | ||
name = "swift_update_pkgs", | ||
gazelle = ":gazelle_bin", | ||
generate_swift_deps_for_workspace = True, | ||
update_bzlmod_stanzas = False, | ||
) | ||
|
||
# This target updates the Bazel build files for your project. Run this target | ||
# whenever you add or remove source files from your project. | ||
gazelle( | ||
name = "update_build_files", | ||
gazelle = ":gazelle_bin", | ||
) | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,57 @@ | ||
############################################################################### | ||
# Bazel now uses Bzlmod by default to manage external dependencies. | ||
# Please consider migrating your external dependencies from WORKSPACE to MODULE.bazel. | ||
# | ||
# For more details, please check https://github.com/bazelbuild/bazel/issues/18958 | ||
############################################################################### | ||
bazel_dep( | ||
name = "rules_swift_package_manager", | ||
version = "0.36.0", | ||
) | ||
|
||
bazel_dep( | ||
name = "apple_support", | ||
version = "0.0.0", | ||
) | ||
local_path_override( | ||
module_name = "apple_support", | ||
path = "build-system/bazel-rules/apple_support", | ||
) | ||
|
||
bazel_dep( | ||
name = "rules_swift", | ||
version = "0.0.0", | ||
repo_name = "build_bazel_rules_swift", | ||
) | ||
local_path_override( | ||
module_name = "rules_swift", | ||
path = "build-system/bazel-rules/rules_swift", | ||
) | ||
|
||
bazel_dep( | ||
name = "rules_apple", | ||
version = "0.0.0", | ||
repo_name = "build_bazel_rules_apple", | ||
) | ||
local_path_override( | ||
module_name = "rules_apple", | ||
path = "build-system/bazel-rules/rules_apple", | ||
) | ||
|
||
bazel_dep( | ||
name = "rules_xcodeproj", | ||
version = "0.0.0", | ||
dev_dependency = True, | ||
) | ||
local_path_override( | ||
module_name = "rules_xcodeproj", | ||
path = "build-system/bazel-rules/rules_xcodeproj", | ||
) | ||
|
||
swift_deps = use_extension( | ||
"@rules_swift_package_manager//:extensions.bzl", | ||
"swift_deps", | ||
) | ||
swift_deps.from_package( | ||
resolved = "//:Package.resolved", | ||
swift = "//:Package.swift", | ||
) | ||
use_repo( | ||
swift_deps, | ||
"swiftpkg_nicegram_assistant_ios", | ||
"swiftpkg_nicegram_wallet_ios", | ||
) |
Oops, something went wrong.