Skip to content

Commit

Permalink
Merge pull request #226 from yumemi-inc/feature/issue-218-documant-la…
Browse files Browse the repository at this point in the history
…nguage

#218 ドキュメントを日本語化
  • Loading branch information
K9i-0 committed Jun 4, 2024
2 parents 55899f6 + 0488d03 commit 2861464
Show file tree
Hide file tree
Showing 7 changed files with 37 additions and 37 deletions.
12 changes: 6 additions & 6 deletions .github/actions/create-issue-at-initialization/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,22 @@ runs:
# https://github.com/marketplace/actions/create-issue-from-file
- uses: peter-evans/create-issue-from-file@24452a72d85239eacf1468b0f1982a9f3fec4c94 # v5.0.0
with:
title: "[Initialization] Set up GitHub Auto Assignment for Pull Requests"
content-filepath: docs/initialization/GITHUB_AUTO_ASSIGNMENT.md
title: "[初期セットアップ] Pull Requestのレビュワーを自動アサインする設定"
content-filepath: .github/initialization/GITHUB_AUTO_ASSIGNMENT.md
labels: initialization

# https://github.com/marketplace/actions/create-issue-from-file
- uses: peter-evans/create-issue-from-file@24452a72d85239eacf1468b0f1982a9f3fec4c94 # v5.0.0
with:
title: "[Initialization] Rename application ID"
content-filepath: docs/initialization/RENAME_APPLICATION_ID.md
title: "[初期セットアップ] アプリIDのリネーム"
content-filepath: .github/initialization/RENAME_APPLICATION_ID.md
labels: initialization

# https://github.com/marketplace/actions/create-issue-from-file
- uses: peter-evans/create-issue-from-file@24452a72d85239eacf1468b0f1982a9f3fec4c94 # v5.0.0
with:
title: "[Optional] Set up Workflow for Deployment within Pull Request"
content-filepath: docs/initialization/DEPLOYMENT_WITHIN_PR.md
title: "[初期セットアップ(任意)] Pull Request内でデプロイのワークフローを設定する"
content-filepath: .github/initialization/DEPLOYMENT_WITHIN_PR.md
labels: |
initialization
optional
File renamed without changes.
File renamed without changes.
30 changes: 30 additions & 0 deletions .github/initialization/RENAME_APPLICATION_ID.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
## 概要

`/tools/rename-application-id.sh`を実行して、FlutterプロジェクトのアプリケーションIDの名前を変更するプロセスを自動化してください。

このスクリプトは以下のステップを実行します:

1. `flavor`ディレクトリ内の構成JSONファイルのアプリケーションID定義を変更します。
2. `app`モジュール内の`build.gradle`ファイルの`namespace`の定義を新しいアプリケーションIDで更新します。
3. 更新されたパッケージ名で新しい`MainActivity.kt`ファイルを生成します。
4. 古い`MainActivity.kt`ファイルを削除します。

## 使用方法

このスクリプトを使用するには、以下の手順に従ってください:

1. スクリプトの実行に必要な権限があることを確認してください。
2. スクリプトの実行時に、新しいアプリケーションIDを引数として指定する。

```bash
bash rename-application-id.sh "com.example.rename"
```

`com.example.rename`を希望する新しいアプリケーションIDに置き換える。

## 参考

- [Configure the app module](https://developer.android.com/build/configure-app-module)
- [CFBundleIdentifier](https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleidentifier)

*ChatGPT 3.5の支援により作成。*
30 changes: 0 additions & 30 deletions docs/initialization/RENAME_APPLICATION_ID.md

This file was deleted.

2 changes: 1 addition & 1 deletion removal_list_on_use_template.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ LICENSE.md

.firebaserc

docs/initialization
.github/initialization

0 comments on commit 2861464

Please sign in to comment.