Skip to content

Commit 57a2c46

Browse files
committed
docs(cli): Update readme
1 parent 5246740 commit 57a2c46

2 files changed

Lines changed: 17 additions & 1 deletion

File tree

bin/Readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
**DEPRECATED**
44

5-
Use Magicrew CLI instead
5+
Use [Magicrew CLI](../cli) instead

cli/Readme.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,23 @@ magicrew help
1212

1313
## Build from source 从源代码构建
1414

15+
You may use `go build` to build the binary for your current machine.
16+
17+
可以直接用go build来构建本机的二进制
18+
1519
```bash
1620
# at the cli directory
1721
go build -o magicrew ./cmd
1822
```
23+
24+
Use Makefile to build multi-platform binaries:
25+
26+
如果需要构建多架构的二进制,可以使用Makefile:
27+
28+
```bash
29+
make build
30+
```
31+
32+
The built binaries will be placed in the dist directory, with the filename format of `magicrew-cli-<platform>-<arch>`
33+
34+
构建好的二进制文件会在dist目录下,文件名格式为`magicrew-cli-<platform>-<arch>`

0 commit comments

Comments
 (0)