-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
67 additions
and
0 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,51 @@ | ||
|
||
## Contributing | ||
|
||
1. Install JDK 8+ | ||
2. Install Gradle 4+ or use gradle wrapper (`gradlew`). | ||
3. Build and Install JPPM from sources: | ||
```bash | ||
gradle packager:install | ||
``` | ||
|
||
### `Optional` Publish jphp packages to local repo. | ||
|
||
```bash | ||
gradle localPublish | ||
``` | ||
|
||
### `Optional` Publish jphp packages to hub repo (develnext.org). | ||
|
||
1. You need to login: | ||
``` | ||
jppm hub:login | ||
``` | ||
|
||
2. Publish All! | ||
``` | ||
gradle hubPublish | ||
``` | ||
|
||
or only one: | ||
|
||
2. Publish package: | ||
``` | ||
gradle hubPublish -p exts/jphp-mysql-ext | ||
``` | ||
|
||
### `Optional` Build api docs for packages | ||
``` | ||
gradle docBuild # for all | ||
gradle docBuild -p jphp-runtime # for one! | ||
gradle docBuild -p exts/jphp-mysql-ext # for extension! | ||
``` | ||
|
||
> API docs will be in the `api-docs` directory. | ||
### `Optional` Use sandbox gradle project to test jphp! | ||
|
||
``` | ||
gradle sandbox:run | ||
``` | ||
|
||
> The `sandbox/src` directory contains the all php sources. |
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