diff --git a/Makefile b/Makefile index 01de575..3fb782c 100644 --- a/Makefile +++ b/Makefile @@ -44,28 +44,40 @@ fmt-check: ## Check Rust formatting # ────────────────────────────────────────────── .PHONY: build -build: node_modules ## Build release binary + bundles for current platform - npm run tauri build $(TARGET_FLAG) +build: node_modules ## Build release binary (no bundling) + npm run tauri build -- --no-bundle $(TARGET_FLAG) .PHONY: build-debug build-debug: node_modules ## Build debug binary - npm run tauri build -- --debug $(TARGET_FLAG) + npm run tauri build -- --debug --no-bundle $(TARGET_FLAG) -.PHONY: build-linux -build-linux: node_modules ## Build for Linux (deb + AppImage + rpm) - npm run tauri build +.PHONY: bundle +bundle: node_modules ## Build release binary + platform bundles (deb, rpm, dmg, msi…) + npm run tauri build -- $(TARGET_FLAG) -.PHONY: build-macos -build-macos: node_modules ## Build for macOS (dmg + app bundle) — run on macOS - npm run tauri build +.PHONY: bundle-deb +bundle-deb: node_modules ## Build .deb package + npm run tauri build -- --bundles deb $(TARGET_FLAG) -.PHONY: build-macos-universal -build-macos-universal: node_modules ## Build universal macOS binary (x86_64 + aarch64) +.PHONY: bundle-rpm +bundle-rpm: node_modules ## Build .rpm package + npm run tauri build -- --bundles rpm $(TARGET_FLAG) + +.PHONY: bundle-appimage +bundle-appimage: node_modules ## Build AppImage + npm run tauri build -- --bundles appimage $(TARGET_FLAG) + +.PHONY: bundle-macos +bundle-macos: node_modules ## Build macOS dmg + app — run on macOS + npm run tauri build -- --bundles dmg $(TARGET_FLAG) + +.PHONY: bundle-macos-universal +bundle-macos-universal: node_modules ## Build universal macOS binary (x86_64 + aarch64) npm run tauri build -- --target universal-apple-darwin -.PHONY: build-windows -build-windows: node_modules ## Build for Windows (msi + nsis) — run on Windows - npm run tauri build +.PHONY: bundle-windows +bundle-windows: node_modules ## Build Windows msi + nsis — run on Windows + npm run tauri build -- --bundles msi,nsis $(TARGET_FLAG) # ────────────────────────────────────────────── # Install / Uninstall (Linux)