mirror of
https://github.com/bitwarden/ios.git
synced 2025-12-10 15:57:30 -06:00
[PM-16533] Rename files to indicate they belong to Password Manager (#1231)
This commit is contained in:
parent
75f527b1ca
commit
bcaab3f914
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -355,8 +355,8 @@ jobs:
|
||||
|
||||
- name: Update build version and number
|
||||
run: |
|
||||
yq -i '.settings.MARKETING_VERSION = "${{ steps.version_info.outputs.version_name }}"' 'project.yml'
|
||||
yq -i '.settings.CURRENT_PROJECT_VERSION = "${{ steps.version_info.outputs.version_number }}"' 'project.yml'
|
||||
yq -i '.settings.MARKETING_VERSION = "${{ steps.version_info.outputs.version_name }}"' 'project-pm.yml'
|
||||
yq -i '.settings.CURRENT_PROJECT_VERSION = "${{ steps.version_info.outputs.version_number }}"' 'project-pm.yml'
|
||||
|
||||
- name: Update CI build info
|
||||
run: |
|
||||
|
||||
2
.github/workflows/crowdin-pull.yml
vendored
2
.github/workflows/crowdin-pull.yml
vendored
@ -41,7 +41,7 @@ jobs:
|
||||
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
|
||||
CROWDIN_API_TOKEN: ${{ steps.retrieve-secrets.outputs.crowdin-api-token }}
|
||||
with:
|
||||
config: crowdin.yml
|
||||
config: crowdin-pm.yml
|
||||
upload_sources: false
|
||||
upload_translations: false
|
||||
download_translations: true
|
||||
|
||||
2
.github/workflows/crowdin-push.yml
vendored
2
.github/workflows/crowdin-push.yml
vendored
@ -34,6 +34,6 @@ jobs:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
CROWDIN_API_TOKEN: ${{ steps.retrieve-secrets.outputs.crowdin-api-token }}
|
||||
with:
|
||||
config: crowdin.yml
|
||||
config: crowdin-pm.yml
|
||||
upload_sources: true
|
||||
upload_translations: false
|
||||
|
||||
@ -140,4 +140,4 @@ This project's structure is split into separate sections to support sharing as m
|
||||
|
||||
### GlobalTestHelpers
|
||||
|
||||
`GlobalTestHelpers` is a directory that contains helper files used in all test targets. This directory is included in each target that is defined in the `project.yml` file.
|
||||
`GlobalTestHelpers` is a directory that contains helper files used in all test targets. This directory is included in each target that is defined in the `project-pm.yml` file.
|
||||
|
||||
@ -4,13 +4,14 @@ set -euo pipefail
|
||||
|
||||
mint bootstrap
|
||||
|
||||
mint run xcodegen xcodegen
|
||||
# Handle script being called from repo root or Scripts folder
|
||||
script_dir=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
||||
repo_root=$(dirname "$script_dir")
|
||||
|
||||
mint run xcodegen --spec "$repo_root/project-pm.yml"
|
||||
echo "✅ Bootstrapped!"
|
||||
|
||||
# Check Xcode version matches .xcode-version
|
||||
# handle script being called from repo root or Scripts folder
|
||||
script_dir=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
||||
repo_root=$(dirname "$script_dir")
|
||||
xcode_version_file="$repo_root/.xcode-version"
|
||||
|
||||
if [ ! -f "$xcode_version_file" ]; then
|
||||
|
||||
@ -11,5 +11,5 @@ if [ "$CONFIGURATION" = "Debug" ]; then
|
||||
fi
|
||||
|
||||
mint run LicensePlist license-plist \
|
||||
--config-path .license_plist.yml
|
||||
--config-path .license-plist-pm.yml
|
||||
fi
|
||||
|
||||
@ -182,7 +182,7 @@ targets:
|
||||
excludes:
|
||||
- "**/*Tests.*"
|
||||
- "**/TestHelpers/*"
|
||||
- "**/swiftgen.yml"
|
||||
- "**/swiftgen-pm.yml"
|
||||
- "**/GoogleService-Info.*.plist"
|
||||
- "**/__Snapshots__/*"
|
||||
- path: Bitwarden
|
||||
@ -194,7 +194,7 @@ targets:
|
||||
buildPhase: resources
|
||||
- path: README.md
|
||||
buildPhase: none
|
||||
- path: swiftgen.yml
|
||||
- path: swiftgen-pm.yml
|
||||
buildPhase: none
|
||||
dependencies:
|
||||
- target: AuthenticatorBridgeKit
|
||||
@ -409,7 +409,7 @@ targets:
|
||||
if [[ ! "$PATH" =~ "/opt/homebrew/bin" ]]; then
|
||||
PATH="/opt/homebrew/bin:$PATH"
|
||||
fi
|
||||
mint run swiftgen config run --config "swiftgen.yml"
|
||||
mint run swiftgen config run --config "swiftgen-pm.yml"
|
||||
basedOnDependencyAnalysis: false
|
||||
outputFiles:
|
||||
- $(SRCROOT)/BitwardenShared/UI/Platform/Application/Support/Generated/Assets.swift
|
||||
Loading…
x
Reference in New Issue
Block a user