* This is super ugly / hacky... there's got to be a middleware / interceptor for tonic gRPC that can do this. If not, perhaps I'll write one...
27 lines
679 B
Makefile
27 lines
679 B
Makefile
.PHONY: frontend helm-update
|
|
|
|
# ----------------------------------------
|
|
# Build all crates in release mode
|
|
# ----------------------------------------
|
|
release:
|
|
cargo build --release
|
|
|
|
# ----------------------------------------
|
|
# Build all crates in release mode
|
|
# ----------------------------------------
|
|
debug:
|
|
cargo build
|
|
|
|
# ----------------------------------------
|
|
# Set Git Config for Git Hooks
|
|
# ----------------------------------------
|
|
hooks:
|
|
$(shell git config --local core.hooksPath .githooks)
|
|
|
|
# ----------------------------------------
|
|
# Make docker builder
|
|
# ----------------------------------------
|
|
|
|
builder:
|
|
docker build -f dockerfiles/Build . -t rustbuilder
|