mirror of
https://github.com/lddsb/drone-dingtalk-message.git
synced 2026-06-04 18:33:48 +08:00
update readme.md about development
This commit is contained in:
@@ -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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user