Skip to content

Instantly share code, notes, and snippets.

@fortunto2
Last active January 13, 2021 07:57
Show Gist options
  • Save fortunto2/048a125d3ec9d89982b4250a3ce5f3b4 to your computer and use it in GitHub Desktop.
Save fortunto2/048a125d3ec9d89982b4250a3ce5f3b4 to your computer and use it in GitHub Desktop.
sysytem Makefile
.PHONY: help
help:
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
.DEFAULT_GOAL := help
vpn: ## Запускает
@wg-quick up /etc/wireguard/wg0.conf
vpn-down: ## Тормозит
@wg-quick down /etc/wireguard/wg0.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment