Add 'run' target to Makefile for launching Ren Browser
- Introduced a new 'run' target to the Makefile to start the Ren Browser using Poetry. - Updated help output to include the new 'run' command for user guidance.
This commit is contained in:
8
Makefile
8
Makefile
@@ -1,5 +1,5 @@
|
||||
# Ren Browser Makefile
|
||||
.PHONY: help build poetry-build linux apk clean test lint format
|
||||
.PHONY: help build poetry-build linux apk clean test lint format run
|
||||
|
||||
# Default target
|
||||
help:
|
||||
@@ -8,6 +8,7 @@ help:
|
||||
@echo "Available targets:"
|
||||
@echo " build - Build the project (alias for poetry-build)"
|
||||
@echo " poetry-build - Build project with Poetry"
|
||||
@echo " run - Launch Ren Browser via Poetry"
|
||||
@echo " linux - Build Linux package"
|
||||
@echo " apk - Build Android APK"
|
||||
@echo " test - Run tests"
|
||||
@@ -47,6 +48,11 @@ format:
|
||||
@echo "Formatting code..."
|
||||
poetry run ruff format .
|
||||
|
||||
# Run application
|
||||
run:
|
||||
@echo "Starting Ren Browser..."
|
||||
poetry run ren-browser
|
||||
|
||||
# Clean build artifacts
|
||||
clean:
|
||||
@echo "Cleaning build artifacts..."
|
||||
|
||||
Reference in New Issue
Block a user