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
|
# 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
|
# Default target
|
||||||
help:
|
help:
|
||||||
@@ -8,6 +8,7 @@ help:
|
|||||||
@echo "Available targets:"
|
@echo "Available targets:"
|
||||||
@echo " build - Build the project (alias for poetry-build)"
|
@echo " build - Build the project (alias for poetry-build)"
|
||||||
@echo " poetry-build - Build project with Poetry"
|
@echo " poetry-build - Build project with Poetry"
|
||||||
|
@echo " run - Launch Ren Browser via Poetry"
|
||||||
@echo " linux - Build Linux package"
|
@echo " linux - Build Linux package"
|
||||||
@echo " apk - Build Android APK"
|
@echo " apk - Build Android APK"
|
||||||
@echo " test - Run tests"
|
@echo " test - Run tests"
|
||||||
@@ -47,6 +48,11 @@ format:
|
|||||||
@echo "Formatting code..."
|
@echo "Formatting code..."
|
||||||
poetry run ruff format .
|
poetry run ruff format .
|
||||||
|
|
||||||
|
# Run application
|
||||||
|
run:
|
||||||
|
@echo "Starting Ren Browser..."
|
||||||
|
poetry run ren-browser
|
||||||
|
|
||||||
# Clean build artifacts
|
# Clean build artifacts
|
||||||
clean:
|
clean:
|
||||||
@echo "Cleaning build artifacts..."
|
@echo "Cleaning build artifacts..."
|
||||||
|
|||||||
Reference in New Issue
Block a user