-
Notifications
You must be signed in to change notification settings - Fork 344
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
hui.zhao
committed
Feb 24, 2020
1 parent
216d9fa
commit f267c42
Showing
3 changed files
with
29 additions
and
23 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
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 |
---|---|---|
@@ -1,37 +1,41 @@ | ||
# Code of Conduct | ||
|
||
## Model | ||
## Build | ||
|
||
Model数据类,包含Config类型 | ||
### Build Sample APK | ||
|
||
1. 必须实现Serializable接口 | ||
2. 必须@Keep | ||
3. 内容必须可序列化 | ||
4. 必须添加toString方法 | ||
Clone then build, then run `android android-godeye-sample` | ||
|
||
### Build Debug Dashboard | ||
|
||
1. `cd android-godeye-monitor-dashboard` | ||
2. `npm install` or `cnpm install` if needed. | ||
3. [`npm run bd`] or [`npm run build` then `npm run deploy`] | ||
4. Build and run `android android-godeye-sample` | ||
|
||
## Deploy | ||
|
||
1. Exec `./gradlew generateChangelog -PchangelogVersion=3.1.12` to update CHANGELOG.md, 添加或删除模块需要更新README.md和[wiki](https://github.com/Kyson/AndroidGodEye/wiki) | ||
2. 改动合并到master,并打版本号命名的tag(本地测试会使用gradle.properties文件中的版本号) | ||
3. PUSH,查看编译状态:[AndroidGodEye-travis-ci](https://travis-ci.org/Kyson/AndroidGodEye/builds) | ||
2. Merge to master branch then tag with version name then push.(本地测试会使用gradle.properties文件中的版本号) | ||
3. 查看编译状态:[AndroidGodEye-travis-ci](https://travis-ci.org/Kyson/AndroidGodEye/builds) | ||
|
||
## Changelog | ||
## Code | ||
|
||
Based on [keepachangelog](https://keepachangelog.com/en/1.0.0/) | ||
Model数据类,包含Config类型 | ||
|
||
```text | ||
* Added for new features. | ||
* Changed for changes in existing functionality. | ||
* Deprecated for soon-to-be removed features. | ||
* Removed for now removed features. | ||
* Fixed for any bug fixes. | ||
* Security in case of vulnerabilities. | ||
``` | ||
1. 必须实现Serializable接口 | ||
2. 必须@Keep | ||
3. 内容必须可序列化 | ||
4. 必须添加toString方法 | ||
|
||
## Ignore | ||
## Changelog | ||
|
||
### Jcenter upload,不需要手动调用 | ||
Based on [keepachangelog](https://keepachangelog.com/en/1.0.0/) | ||
|
||
bintrayKey: [https://bintray.com/profile/edit](https://bintray.com/profile/edit) API Key | ||
- Added for new features. | ||
- Changed for changes in existing functionality. | ||
- Deprecated for soon-to-be removed features. | ||
- Removed for now removed features. | ||
- Fixed for any bug fixes. | ||
- Security in case of vulnerabilities. | ||
|
||
./gradlew clean build bintrayUpload -PbintrayUser=kyson -PbintrayKey=BINTRAY_KEY -PdryRun=false |
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