Skip to content

Commit

Permalink
docs: add build in README
Browse files Browse the repository at this point in the history
  • Loading branch information
lanthora committed Dec 6, 2024
1 parent ac5a5a3 commit c5ef9cb
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
GOBUILD = env CGO_ENABLED=0 go build -trimpath -ldflags '-w -s' -o cacao
GOBUILD = CGO_ENABLED=0 go build -trimpath -ldflags '-w -s' -o cacao

default: cacao

Expand Down
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@

Candy Server with WebUI

## Build

```bash
# build a binary that runs natively
make

# build multiple platform binaries
make all
```

## Run

```bash
Expand Down

0 comments on commit c5ef9cb

Please sign in to comment.