2022-06-24 08:31:11 +00:00
|
|
|
.PHONY: doc all release shell run1 run2 run3
|
2021-09-28 08:13:14 +00:00
|
|
|
|
2020-04-05 21:33:42 +00:00
|
|
|
all:
|
2022-05-24 10:16:39 +00:00
|
|
|
clear; cargo build --all-features
|
2020-06-30 15:18:42 +00:00
|
|
|
|
2021-05-28 11:58:47 +00:00
|
|
|
release:
|
2021-10-04 16:27:57 +00:00
|
|
|
nix-build --arg release true
|
|
|
|
|
|
|
|
shell:
|
|
|
|
nix-shell
|
2022-06-24 08:31:11 +00:00
|
|
|
|
2022-06-27 14:52:46 +00:00
|
|
|
# ----
|
|
|
|
|
2022-06-24 08:31:11 +00:00
|
|
|
run1:
|
2022-06-27 14:52:46 +00:00
|
|
|
RUST_LOG=garage=debug ./target/debug/garage -c tmp/config1.toml server
|
2022-06-27 09:58:14 +00:00
|
|
|
run1rel:
|
2022-06-27 14:52:46 +00:00
|
|
|
RUST_LOG=garage=debug ./target/release/garage -c tmp/config1.toml server
|
2022-06-24 08:31:11 +00:00
|
|
|
|
|
|
|
run2:
|
2022-06-27 14:52:46 +00:00
|
|
|
RUST_LOG=garage=debug ./target/debug/garage -c tmp/config2.toml server
|
2022-06-27 09:58:14 +00:00
|
|
|
run2rel:
|
2022-06-27 14:52:46 +00:00
|
|
|
RUST_LOG=garage=debug ./target/release/garage -c tmp/config2.toml server
|
2022-06-24 08:31:11 +00:00
|
|
|
|
|
|
|
run3:
|
2022-06-27 14:52:46 +00:00
|
|
|
RUST_LOG=garage=debug ./target/debug/garage -c tmp/config3.toml server
|
2022-06-27 09:58:14 +00:00
|
|
|
run3rel:
|
2022-06-27 14:52:46 +00:00
|
|
|
RUST_LOG=garage=debug ./target/release/garage -c tmp/config3.toml server
|