Skip to content

Commit

Permalink
[Core] Add the README.md to /docs as well
Browse files Browse the repository at this point in the history
  • Loading branch information
BitcoinMitchell committed Feb 21, 2024
1 parent 4c283e3 commit f737de0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ docker-compose.override.yml
# Ignore files in the module that are added via `make`
/modules/btcpay/LICENSE
/modules/btcpay/README.md
/modules/btcpay/docs/README.md

# We dont care about the lib/vendor folder
/modules/btcpay/lib/
Expand Down
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@ build: ## Build the bastard binary file
# Copy the license to the module
@cp ./LICENSE "$(MODULE_FOLDER)/$(MODULE)"

# Copy the README to the module
# Copy the README to the module root and docs
@cp ./README.md "$(MODULE_FOLDER)/$(MODULE)"
@cp ./README.md "$(MODULE_FOLDER)/$(MODULE)/docs"

# Zip the module
@cd $(MODULE_FOLDER) \
Expand Down

0 comments on commit f737de0

Please sign in to comment.