Add flake #1

Merged
Yehowshua merged 3 commits from :addflake1 into convert_to_actix 2025-01-04 03:53:28 +00:00
Showing only changes of commit 9ebdbdb36a - Show all commits

View file

@ -29,6 +29,7 @@ $(PUBLIC_DIR)/index.html: $(FRONTEND_DIR)/index.html $(PUBLIC_DIR)
.PHONY: frontend backend
frontend: $(PUBLIC_DIR)/index.html $(PUBLIC_DIR)
make -C $(FRONTEND_DIR)
cp $(FRONTEND_DIR)/elm.min.js $(PUBLIC_DIR)/
cp $(FRONTEND_DIR)/src/ports.websocket.js $(PUBLIC_DIR)/
mkdir -p $(PUBLIC_DIR)/assets
@ -37,7 +38,6 @@ backend:
$(CARGO_BUILD) --manifest-path=$(BACKEND_DIR)/Cargo.toml
serve: frontend backend
make -C $(FRONTEND_DIR)
ifeq ($(DEBUG),1)
RUST_LOG=info,actix_web=debug $(CARGO_RUN) --manifest-path=$(BACKEND_DIR)/Cargo.toml
else ifeq ($(RELEASE),1)