Nihuya sebe

This commit is contained in:
2026-07-17 01:04:47 +03:00
parent bbaa21d14e
commit cd8e743429
29 changed files with 15952 additions and 16 deletions

37
Makefile Normal file
View File

@@ -0,0 +1,37 @@
# Makefile for persona-script-editor (Tauri + TypeScript/Vite)
# Requires: Node.js, npm, Rust, MSVC or MinGW, make (GNU Make in MSYS2/MinGW)
PROJECT_DIR := /c/Users/romas/Desktop/Projects/persona-script-editor
SRC_TAURI := $(PROJECT_DIR)/src-tauri
.PHONY: default install build dev clean release help
default: build
install:
cd $(PROJECT_DIR) && npm install
cd $(SRC_TAURI) && cargo install
build:
cd $(PROJECT_DIR) && npm run tauri build
dev:
cd $(PROJECT_DIR) && npm run tauri dev
clean:
cd $(PROJECT_DIR) && npm clean
cd $(SRC_TAURI) && cargo clean
rm -rf $(SRC_TAURI)/target
rm -f *.log
release: build
help:
@echo Available commands:
@echo default - build the application (npm run tauri build)
@echo install - install dependencies (npm install + cargo install)
@echo build - build the final application (Windows .exe/.msi)
@echo dev - run in development mode with hot reload
@echo clean - remove dependencies and target directory
@echo release - alias for build
@echo help - show this help message