8000 リソースを公開する機能を追加 by takemo101 · Pull Request #10 · takemo101/egg · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

リソースを公開する機能を追加 #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 27, 2023

Conversation

takemo101
Copy link
Owner

概要

コンフィグファイルなどの、リソースを公開するための機能を追加しました。
PublishResourcesクラスに対して、リソースファイルマッピング設定をするとphp command resource:publish tag-nameでリソースを公開することができます。

実装

  1. リソースファイルマッピング設定をタグ名によって設定できるPublishResourcesというコレクションクラスを追加した
  2. リソースファイルの公開処理(ファイルコピー)をするResourcePublisherクラスを追加した
  3. タグ名でリソースファイルを公開できるphp command resource:publish tag-nameコマンドを追加した

@takemo101 takemo101 merged commit 4f3c7ed into master Feb 27, 2023
@takemo101 takemo101 deleted the feature/add-resource-publisher branch February 27, 2023 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0