From 304258d10dffaf84ed8ca5e70804dd55c7b97aad Mon Sep 17 00:00:00 2001
From: Brian Lewis <keller@csh.rit.edu>
Date: Tue, 15 Mar 2022 15:15:42 +0100
Subject: [PATCH] Readd makefile

---
 Makefile | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 Makefile

diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..4925e28
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,26 @@
+
+build:
+	cargo build
+
+lint:
+	cargo fmt --check
+	cargo clippy -- -D warnings
+
+docs:
+	cargo doc --open --lib --no-deps
+
+cli-docs:
+	cargo doc --open --bin=cli --no-deps
+
+dummy-data:
+	cd cli && \
+	cargo run -- solr-ingest --data-dir ../.docker/data
+
+# sadly necessary to get this compiling for Linux on Mac thanks to openssl
+# TODO: figure out if a local install of openssl on Mac can make this work
+docker-build:
+	docker run \
+	-v $(PWD):/workspace \
+	-w /workspace \
+	rust:latest \
+	cargo build --release
-- 
GitLab