1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2024-12-13 05:50:27 +00:00
mycorrhiza/Makefile
bouncepaw 0426c372de Support configuration files
See https://mycorrhiza.lesarbr.es/hypha/configuration for an example.
A copy of this example is stored at assets/config.ini.

Use option -config-path to pass the config file. Note that all other
CLI options have been removed. Some of them may be returned later.
Also note that no real testing has been done.
2021-03-06 14:40:47 +05:00

23 lines
362 B
Makefile

run: build
./mycorrhiza metarrhiza
auth_run: build
./mycorrhiza -auth-method fixed metarrhiza
gemini_run: build
./mycorrhiza -gemini-cert-path "." metarrhiza
config_run: build
./mycorrhiza -config-path "assets/config.ini" metarrhiza
build:
go generate
go build .
test:
go test .
help:
echo "Read the Makefile to see what it can do. It is simple."