update readme.md about development

This commit is contained in:
lddsb
2019-09-08 10:28:53 +08:00
parent 580a43e7a1
commit 00fb440336
+6 -9
View File
@@ -97,20 +97,17 @@ String. You can customize the picture for the `build failure` message by this op
### Development
We use `go mod` to manage dependencies, so it's easy to build.
- First get this repo
- get this repo
```shell
go get github.com/lddsb/drone-dingtalk-message
```
- get dependent lib
```shell
dep ensure
$ git clone https://github.com/lddsb/drone-dingtalk-message.git /path/to/you/want
```
- build
```shell
cd $GOPATH/src/github.com/lddsb/drone-dingtalk-message && go build .
$ cd /path/to/you/want && GO111MODULE=on go build .
```
- run
```shell
./drone-dingtalk-message -h
```
$ ./drone-dingtalk-message -h
```