mirror of
https://github.com/osmarks/mycorrhiza.git
synced 2025-01-07 10:20:26 +00:00
Update Makefile
make → make make run → run make check → check It still doesn't track any dependencies to avoid unnecessary rebuilds (like before), but eh. The Go toolchain does, though.
This commit is contained in:
parent
a6eb2ca82b
commit
8f6c1d0a65
18
Makefile
18
Makefile
@ -2,18 +2,14 @@
|
|||||||
include config.example.mk
|
include config.example.mk
|
||||||
-include config.mk
|
-include config.mk
|
||||||
|
|
||||||
run: build
|
mycorrhiza:
|
||||||
./mycorrhiza ${WIKIPATH}
|
|
||||||
|
|
||||||
config_run: build
|
|
||||||
./mycorrhiza ${WIKIPATH}
|
|
||||||
|
|
||||||
devconfig_run: build
|
|
||||||
./mycorrhiza ${WIKIPATH}
|
|
||||||
|
|
||||||
build:
|
|
||||||
go generate
|
go generate
|
||||||
go build .
|
go build .
|
||||||
|
|
||||||
test:
|
run: mycorrhiza
|
||||||
|
./mycorrhiza ${WIKIPATH}
|
||||||
|
|
||||||
|
check:
|
||||||
go test .
|
go test .
|
||||||
|
|
||||||
|
.PHONY: mycorrhiza run check
|
||||||
|
Loading…
Reference in New Issue
Block a user