-
Notifications
You must be signed in to change notification settings - Fork 643
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add hacking guide for SDK developers
- Loading branch information
Showing
2 changed files
with
44 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
Hacking guide for SDK developers | ||
== | ||
|
||
First of all | ||
-- | ||
|
||
Please execute `make install-devtool`. | ||
|
||
How to run tests | ||
-- | ||
|
||
Use `make test`. | ||
|
||
How to execute [PHP_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer) | ||
-- | ||
|
||
Use `make phpcs`. | ||
|
||
How to execute [PHPMD](https://phpmd.org/) | ||
-- | ||
|
||
Use `make phpmd`. | ||
|
||
How to execute them all | ||
-- | ||
|
||
`make` | ||
|
||
Release Flow | ||
-- | ||
|
||
1. Make a git tag (this project uses semantic versioning) | ||
1. Push the tag to origin | ||
|
||
That's all. It will be publish on [composer](https://packagist.org/packages/linecorp/line-bot-sdk) automatically. | ||
|
||
e.g. | ||
|
||
``` | ||
$ git tag 1.2.3 | ||
$ git push origin 1.2.3 | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters