2020-01-18 12:43:35 +01:00
|
|
|
# FIXME: in-code docs needed
|
|
|
|
|
2020-01-12 01:57:48 +01:00
|
|
|
all:
|
2020-01-12 13:50:51 +01:00
|
|
|
@ printf '%s\n' "Unknown option parsed in target all" ; exit 2
|
|
|
|
|
2020-01-18 12:43:35 +01:00
|
|
|
## DEVELOPMENT ##
|
|
|
|
|
2020-01-12 13:50:51 +01:00
|
|
|
run:
|
|
|
|
@ cargo run \
|
|
|
|
--jobs "$$(nproc)" \
|
2020-01-18 12:43:35 +01:00
|
|
|
--bin main \
|
|
|
|
-- "$*"
|
2020-01-12 13:50:51 +01:00
|
|
|
|
|
|
|
build:
|
|
|
|
@ cargo build \
|
|
|
|
--jobs "$$(nproc)" \
|
2020-01-20 06:51:34 +01:00
|
|
|
--bin main \
|
|
|
|
-- "$*"
|
2020-01-18 12:43:35 +01:00
|
|
|
|
|
|
|
## RELEASE ##
|
2020-01-12 13:50:51 +01:00
|
|
|
|
|
|
|
release:
|
2020-01-20 06:51:34 +01:00
|
|
|
@ printf '%s\n' "FIXME: Release logic needed, currently unknown usecase" ; exit 1
|
2020-01-18 12:43:35 +01:00
|
|
|
|
|
|
|
## EXPERIMENTS ##
|
|
|
|
|
|
|
|
experiment:
|
|
|
|
@ cargo run \
|
|
|
|
--jobs "$$(nproc)" \
|
2020-01-20 06:51:34 +01:00
|
|
|
--bin main-experiment \
|
|
|
|
-- "$*"
|