.PHONY: help help: ## Show this help @egrep -h '\s##\s' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' USERID := $(shell id -u) .PHONY: macos-dev-obverse-clean macos-dev-obverse-clean: ## Clean up the macOS dev-obverse service/app launchctl bootout gui/${USERID}/com.micahrl.me.dev-obverse.background || true rm -rf ~/Applications/me.micahrl.com.dev-obverse.app rm -f ~/Library/LaunchAgents/com.micahrl.me.dev-obverse.background.plist .PHONY: macos-dev-reverse-clean macos-dev-reverse-clean: ## Clean up the macOS dev-reverse service/app launchctl bootout gui/${USERID}/com.micahrl.me.dev-reverse.background || true rm -rf ~/Applications/me.micahrl.com.dev-reverse.app rm -f ~/Library/LaunchAgents/com.micahrl.me.dev-reverse.background.plist .PHONY: macos-dev-obverse-install macos-dev-obverse-install: macos-dev-obverse-clean ## Install the macOS dev-obverse service/app ./generate.py \ "dev-obverse" \ ~/Applications/me.micahrl.com.dev-obverse.app \ "$(REPOROOT)" \ --devhost-tailscale \ --force cp ~/Applications/me.micahrl.com.dev-obverse.app/Contents/Resources/launchd.plist ~/Library/LaunchAgents/com.micahrl.me.dev-obverse.background.plist launchctl bootstrap gui/${USERID} ~/Library/LaunchAgents/com.micahrl.me.dev-obverse.background.plist .PHONY: macos-dev-reverse-install macos-dev-reverse-install: macos-dev-reverse-clean ## Install the macOS dev-reverse service/app ./generate.py \ "dev-reverse" \ ~/Applications/me.micahrl.com.dev-reverse.app \ "$(REPOROOT)" \ --devhost-tailscale \ --force cp ~/Applications/me.micahrl.com.dev-reverse.app/Contents/Resources/launchd.plist ~/Library/LaunchAgents/com.micahrl.me.dev-reverse.background.plist launchctl bootstrap gui/${USERID} ~/Library/LaunchAgents/com.micahrl.me.dev-reverse.background.plist .PHONY: macos-dev-obverse-restart macos-dev-obverse-restart: ## Restart the macOS dev-obverse service/app launchctl kickstart -k gui/${USERID}/com.micahrl.me.dev-obverse.background .PHONY: macos-dev-reverse-restart macos-dev-reverse-restart: ## Restart the macOS dev-obverse service/app launchctl kickstart -k gui/${USERID}/com.micahrl.me.dev-reverse.background .PHONY: macos-dev-install macos-dev-install: macos-dev-obverse-install macos-dev-reverse-install ## Install the macOS application and launch agent for the dev site