mirror of
https://github.com/bitwarden/ios.git
synced 2025-12-11 13:54:06 -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
|
- name: Update build version and number
|
||||||
run: |
|
run: |
|
||||||
yq -i '.settings.MARKETING_VERSION = "${{ steps.version_info.outputs.version_name }}"' '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.yml'
|
yq -i '.settings.CURRENT_PROJECT_VERSION = "${{ steps.version_info.outputs.version_number }}"' 'project-pm.yml'
|
||||||
|
|
||||||
- name: Update CI build info
|
- name: Update CI build info
|
||||||
run: |
|
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 }}
|
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
|
||||||
CROWDIN_API_TOKEN: ${{ steps.retrieve-secrets.outputs.crowdin-api-token }}
|
CROWDIN_API_TOKEN: ${{ steps.retrieve-secrets.outputs.crowdin-api-token }}
|
||||||
with:
|
with:
|
||||||
config: crowdin.yml
|
config: crowdin-pm.yml
|
||||||
upload_sources: false
|
upload_sources: false
|
||||||
upload_translations: false
|
upload_translations: false
|
||||||
download_translations: true
|
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 }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
CROWDIN_API_TOKEN: ${{ steps.retrieve-secrets.outputs.crowdin-api-token }}
|
CROWDIN_API_TOKEN: ${{ steps.retrieve-secrets.outputs.crowdin-api-token }}
|
||||||
with:
|
with:
|
||||||
config: crowdin.yml
|
config: crowdin-pm.yml
|
||||||
upload_sources: true
|
upload_sources: true
|
||||||
upload_translations: false
|
upload_translations: false
|
||||||
|
|||||||
@ -140,4 +140,4 @@ This project's structure is split into separate sections to support sharing as m
|
|||||||
|
|
||||||
### GlobalTestHelpers
|
### 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 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!"
|
echo "✅ Bootstrapped!"
|
||||||
|
|
||||||
# Check Xcode version matches .xcode-version
|
# 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"
|
xcode_version_file="$repo_root/.xcode-version"
|
||||||
|
|
||||||
if [ ! -f "$xcode_version_file" ]; then
|
if [ ! -f "$xcode_version_file" ]; then
|
||||||
|
|||||||
@ -11,5 +11,5 @@ if [ "$CONFIGURATION" = "Debug" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
mint run LicensePlist license-plist \
|
mint run LicensePlist license-plist \
|
||||||
--config-path .license_plist.yml
|
--config-path .license-plist-pm.yml
|
||||||
fi
|
fi
|
||||||
|
|||||||
@ -182,7 +182,7 @@ targets:
|
|||||||
excludes:
|
excludes:
|
||||||
- "**/*Tests.*"
|
- "**/*Tests.*"
|
||||||
- "**/TestHelpers/*"
|
- "**/TestHelpers/*"
|
||||||
- "**/swiftgen.yml"
|
- "**/swiftgen-pm.yml"
|
||||||
- "**/GoogleService-Info.*.plist"
|
- "**/GoogleService-Info.*.plist"
|
||||||
- "**/__Snapshots__/*"
|
- "**/__Snapshots__/*"
|
||||||
- path: Bitwarden
|
- path: Bitwarden
|
||||||
@ -194,7 +194,7 @@ targets:
|
|||||||
buildPhase: resources
|
buildPhase: resources
|
||||||
- path: README.md
|
- path: README.md
|
||||||
buildPhase: none
|
buildPhase: none
|
||||||
- path: swiftgen.yml
|
- path: swiftgen-pm.yml
|
||||||
buildPhase: none
|
buildPhase: none
|
||||||
dependencies:
|
dependencies:
|
||||||
- target: AuthenticatorBridgeKit
|
- target: AuthenticatorBridgeKit
|
||||||
@ -409,7 +409,7 @@ targets:
|
|||||||
if [[ ! "$PATH" =~ "/opt/homebrew/bin" ]]; then
|
if [[ ! "$PATH" =~ "/opt/homebrew/bin" ]]; then
|
||||||
PATH="/opt/homebrew/bin:$PATH"
|
PATH="/opt/homebrew/bin:$PATH"
|
||||||
fi
|
fi
|
||||||
mint run swiftgen config run --config "swiftgen.yml"
|
mint run swiftgen config run --config "swiftgen-pm.yml"
|
||||||
basedOnDependencyAnalysis: false
|
basedOnDependencyAnalysis: false
|
||||||
outputFiles:
|
outputFiles:
|
||||||
- $(SRCROOT)/BitwardenShared/UI/Platform/Application/Support/Generated/Assets.swift
|
- $(SRCROOT)/BitwardenShared/UI/Platform/Application/Support/Generated/Assets.swift
|
||||||
Loading…
x
Reference in New Issue
Block a user