18 lines
357 B
Makefile
18 lines
357 B
Makefile
dev: clean .bin/gopherhole .bin/config.json
|
|
cd .bin && ./gopherhole -config config.json
|
|
|
|
clean:
|
|
@rm -rf .bin
|
|
|
|
.PHONY: clean dev
|
|
|
|
.bin:
|
|
mkdir -p .bin
|
|
|
|
.bin/gopherhole: .bin
|
|
# @go build --tags "sqlite_foreign_keys fts5" -v -o .bin/gopherhole .
|
|
@go build --tags "fts5" -v -o .bin/gopherhole .
|
|
|
|
.bin/config.json:
|
|
@cp ./config.example.json .bin/config.json
|