delphi.market/Makefile
ekzyis 7558655458 refactor: Structure code into different packages
I have put too much code into the same files.

Also, I put everything into the same package: main.

This package is only meant for executables.

Therefore, I have refactored my code to use multiple packages. These packages also guarantee separation of concerns since Golang doesn't allow cyclic imports.
2023-09-10 23:13:08 +02:00

13 lines
180 B
Makefile

.PHONY: build run
SOURCE := $(shell find db env lib lnd pages public server -type f)
build: delphi.market
delphi.market: $(SOURCE)
go build -o delphi.market .
run:
go run .