Skip to content

Commit 6a8a0af

Browse files
authored
Merge pull request #33 from mudclient/fix/README
docs: 改正 README 中的源码编译方法及去掉 GolangCI
2 parents 5985209 + a455765 commit 6a8a0af

File tree

2 files changed

+6
-12
lines changed

2 files changed

+6
-12
lines changed

.golangci.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
service:
2-
golangci-lint-version: 1.23.x
3-
prepare:
4-
- go mod tidy
5-
- go generate ./...
6-
71
linters:
82
enable-all: true
93
disable:

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@
1919
</a>
2020
<a href="https://goreportcard.com/report/github.com/mudclient/go-mud">
2121
<img alt="Go Report" src="https://goreportcard.com/badge/github.com/mudclient/go-mud">
22-
</a>
23-
<a href="https://golangci.com/r/github.com/mudclient/go-mud">
24-
<img alt="GolangCI Report" src="https://github.com/golangci/golangci-web/blob/master/src/assets/images/badge_a_plus_flat.svg">
2522
</a>
2623
</p>
2724
</p>
@@ -41,7 +38,7 @@ MUD 一般认为是最早的网络游戏,历史悠久,内涵丰富。在古
4138

4239
## 什么是北大侠客行
4340

44-
北大侠客行(以下称 **北侠**)于 1996 年开服,至今仍在运营,算是国内运行非常长的网络游戏了。
41+
北大侠客行(以下称**北侠**)于 1996 年开服,至今仍在运营,算是国内运行非常长的网络游戏了。
4542
而且这些年一直都有更新,实属难能可贵。
4643

4744
基于 MUD 特有的文化,挂机在北侠也是被允许的,而在 MUD 下开发挂机程序也是一种别有风味的玩法。
@@ -112,10 +109,13 @@ GoMud 支持的平台非常丰富,限于篇幅,此处不再赘述。
112109
#### 通过源码安装
113110

114111
GoMud 采用 Go 语言实现,如果你要通过源码安装,则需要自行准备 Golang 开发环境。
115-
推荐使用 Go 1.13 或以上的版本。Golang 安装完毕后,通过如下 `go get` 命令即可安装
112+
推荐使用 Go 1.13 或以上的版本。Golang 安装完毕后,通过如下命令序列即可安装
116113

117114
```
118-
go get -u github.com/mudclient/go-mud
115+
git clone https://github.com/mudclient/go-mud.git
116+
cd go-mud
117+
go generate ./...
118+
go build
119119
```
120120

121121
### 启动并进入北侠

0 commit comments

Comments
 (0)