Makefile and readme fix
This commit is contained in:
parent
f69721f642
commit
1d74562a7b
2 changed files with 11 additions and 3 deletions
4
Makefile
4
Makefile
|
@ -9,13 +9,13 @@ SRCDIR = src
|
|||
BIN = boardsourcebot
|
||||
SERVICE_FILE = boardsourcebot.service
|
||||
INSTALL_DIR = /opt/boardsourcebot
|
||||
SERVICE_DIR = /usr/lib/systemd/system/
|
||||
SERVICE_DIR = /usr/lib/systemd/system
|
||||
|
||||
debug:
|
||||
nimble build '-d:ssl --cc:clang'
|
||||
|
||||
release:
|
||||
nimble build '-d:ssl --cc:clang -d:release'
|
||||
nimble build '-d:ssl --cc:clang -d:release'
|
||||
|
||||
clean:
|
||||
rm -f ./${BIN}
|
||||
|
|
10
README.md
10
README.md
|
@ -5,5 +5,13 @@ Boardsourcebot is designed to make the lives or the boardsource mods easier to h
|
|||
1. Install Nim using [choosenim](https://github.com/dom96/choosenim) or [Nim's website](https://nim-lang.org/install.html)
|
||||
2. Install Nimble from [numble](https://github.com/nim-lang/nimble)
|
||||
|
||||
##Building
|
||||
## Building
|
||||
`make release` or `make debug`
|
||||
|
||||
## Installing
|
||||
To install, compile and then run
|
||||
`sudo make install`
|
||||
|
||||
## Docker
|
||||
This can also be built and run with docker. Simply run
|
||||
`dockerrun.sh`
|
||||
|
|
Loading…
Add table
Reference in a new issue