Switch config to JSON
This commit is contained in:
parent
123dc0160b
commit
b296491703
6 changed files with 127 additions and 36 deletions
16
Makefile
Normal file
16
Makefile
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
BIN_DIR := .
|
||||
LELD := $(BIN_DIR)/leld
|
||||
LELCTL := $(BIN_DIR)/lelctl
|
||||
CONFIG := $(HOME)/.config/lel/config.json
|
||||
|
||||
.PHONY: build run clean
|
||||
|
||||
build:
|
||||
go build -o $(LELD) ./cmd/leld
|
||||
go build -o $(LELCTL) ./cmd/lelctl
|
||||
|
||||
run:
|
||||
$(LELD) --config $(CONFIG)
|
||||
|
||||
clean:
|
||||
rm -f $(LELD) $(LELCTL)
|
||||
Loading…
Add table
Add a link
Reference in a new issue