summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..43f87d8
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,10 @@
+CARGO_OPTS = --config 'patch."https://github.com/lcolonq/teleia".teleia.path="../teleia/crates/teleia"' \
+ --config 'patch."https://github.com/lcolonq/teleia".teleia_macros.path="../teleia/crates/teleia_macros"'
+
+.PHONY: build run rerun
+
+build:
+ @mkdir -p .tmp/
+ @cp Cargo.lock .tmp/Cargo.lock
+ @cargo build $(CARGO_OPTS)
+ @cp .tmp/Cargo.lock Cargo.lock