Skip to content

Commit

Permalink
Add hacking guide for SDK developers
Browse files Browse the repository at this point in the history
  • Loading branch information
moznion committed Nov 21, 2016
1 parent 7438b25 commit 13c1220
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 15 deletions.
43 changes: 43 additions & 0 deletions HACKING.md
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
```

16 changes: 1 addition & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,21 +184,7 @@ Requirements
For SDK developers
--

### 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`
Please refer [HACKING.md](/HACKING.md).

See also
--
Expand Down

0 comments on commit 13c1220

Please sign in to comment.