Files
zeekay 2ed73aebf4 Rename to lux-ai and lux-desktop with proper CI/release
- Rename desktop app from lux-ai-desktop to lux-desktop
- Add comprehensive CI workflow (pre-checks, unit tests, integration, security)
- Add release workflow with multi-platform binaries and Docker
- Add Dockerfile for containerized deployment
- Update README with Q-Chain integration and cross-network architecture
- Remove old go.yml in favor of ci.yml
2025-12-10 18:37:54 -08:00

48 lines
771 B
Makefile

.PHONY: all build build-desktop clean test dev install fmt lint
VERSION := 0.1.0
BUILD_DIR := ./bin
all: build
# Build lux-ai
build:
@echo "Building lux-ai..."
go build -o $(BUILD_DIR)/lux-ai ./cmd/lux-ai
# Build lux-desktop
build-desktop:
@echo "Building lux-desktop..."
cd desktop && pnpm install && pnpm tauri:build
# Development mode for desktop
dev-desktop:
cd desktop && pnpm install && pnpm tauri:dev
# Run lux-ai
run: build
$(BUILD_DIR)/lux-ai -port 9090
# Install dependencies
install:
go mod tidy
cd desktop && pnpm install
# Clean build artifacts
clean:
rm -rf $(BUILD_DIR)
rm -rf desktop/dist
rm -rf desktop/src-tauri/target
# Run tests
test:
go test -v ./...
# Format code
fmt:
go fmt ./...
# Lint code
lint:
golangci-lint run ./...