Makefile and readme fix

This commit is contained in:
Kyle Brown 2021-05-04 17:13:53 -07:00
parent f69721f642
commit 1d74562a7b
2 changed files with 11 additions and 3 deletions

View file

@ -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}

View file

@ -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`