summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieuCoder <matthieu@matthieu-dev.xyz>2023-01-16 16:02:50 +0400
committerMatthieuCoder <matthieu@matthieu-dev.xyz>2023-01-16 16:02:50 +0400
commitcceb597c4591a51c07a56b8246539f415f8e1264 (patch)
tree656e31d28711539ffbf4815503741f848f92fb2f
parent39fc02eb3a83f05457348f4303d9bba077da67f8 (diff)
add cargo config (https://github.com/rust-lang/cargo/issues/10583)
-rw-r--r--.cargo/config.toml2
-rw-r--r--Makefile2
2 files changed, 3 insertions, 1 deletions
diff --git a/.cargo/config.toml b/.cargo/config.toml
new file mode 100644
index 0000000..656e08b
--- /dev/null
+++ b/.cargo/config.toml
@@ -0,0 +1,2 @@
+[net]
+git-fetch-with-cli = true \ No newline at end of file
diff --git a/Makefile b/Makefile
index a8faa42..0aa7033 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@ endif
PROJECTS = $(shell find exes/ -mindepth 1 -maxdepth 1 -type d -printf '%f\n')
# Static libraries
-target/release/lib%.a:
+target/release/lib%.a: libs/%
cargo build --release -p $*
# Executables