fix README

This commit is contained in:
Codeberg 2021-02-02 02:43:25 +01:00
parent 605de4ae20
commit 874b21826f

View File

@ -5,11 +5,11 @@
## Build & Run ## Build & Run
```shell ```shell
# will build the binary into ${BUILDDIR}. The golang compiler is fetched and installed into $PWD/gitea/bin/ # will build the binary into ${BUILDDIR}. The golang compiler is fetched and installed into ${BUILDDIR}
make BUILDDIR=$PWD make BUILDDIR=$PWD
# Create a random avatar and write it to /tmp/avatar.svg # Create a random avatar and write it to /tmp/avatar.svg
$PWD/gitea/bin/avatar my-special-seed-string > /tmp/avatar.svg $PWD/gitea/bin/avatar my-special-seed-string > /tmp/avatar.svg
# Open SVG file with default image viewer # Open SVG file with image viewer
eog /tmp/avatar.svg eog /tmp/avatar.svg
``` ```