bevy_cef 0.5.0

Bevy CEF integration for web rendering
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
.PHONY: fix-lint install-debug-render-process setup-windows

BIN := bevy_cef_debug_render_process
CEF_LIB := $(HOME)/.local/share/Chromium Embedded Framework.framework/Libraries
CARGO_BIN := $(HOME)/.cargo/bin

fix-lint:
	cargo clippy --fix --allow-dirty --allow-staged --workspace --all --all-features
	cargo fmt --all

install-debug-render-process:
	cargo install --path ./crates/bevy_cef_debug_render_process --force
	cp "$(CARGO_BIN)/$(BIN)" "$(CEF_LIB)/$(BIN)"

setup-windows:
	cargo install export-cef-dir@145.6.1+145.0.28 --force
	export-cef-dir --force "$(USERPROFILE)/.local/share/cef"
	cargo install --path ./crates/bevy_cef_render_process --root "$(USERPROFILE)/.local/share/cef" --force