Skip to content

Commit af7a3d9

Browse files
author
cg33
committed
update contribution guide
1 parent cd631fc commit af7a3d9

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

Diff for: CONTRIBUTING.md

+8
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,14 @@ $ cd $GOPATH/src/github.com/GoAdminGroup/go-admin # GOPATH is $HOME/go by defaul
3232
$ git remote add <FORK_NAME> <FORK_URL>
3333
```
3434

35+
And before you commit, remember to execute the command:
36+
37+
```
38+
make test
39+
```
40+
41+
See the Makefile for more details.
42+
3543
Notice: `go get` return `package github.com/GoAdminGroup/go-admin: no Go files in /go/src/github.com/GoAdminGroup/go-admin` is normal.
3644

3745
### Dependency management

Diff for: CONTRIBUTING_CN.md

+8
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,14 @@ $ cd $GOPATH/src/github.com/GoAdminGroup/go-admin # GOPATH is $HOME/go by defaul
3232
$ git remote add <FORK_NAME> <FORK_URL>
3333
```
3434

35+
在你提交代码之前,记得执行下面这个命令:
36+
37+
```
38+
make test
39+
```
40+
41+
看根目录下的```Makefile```获得更多信息。
42+
3543
注意了: `go get` 返回 `package github.com/GoAdminGroup/go-admin: no Go files in /go/src/github.com/GoAdminGroup/go-admin` 是正常的。
3644

3745
### 依赖管理

0 commit comments

Comments
 (0)