aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-03-03 18:10:01 +0500
committerEgor Tensin <Egor.Tensin@gmail.com>2022-03-03 18:10:01 +0500
commite35df8c16e2f2defb146470f1755d7ec534cf54a (patch)
tree2225ca005b7efdf31a30413e95e5c7360028160f
parentREADME: update (diff)
downloadwireguard-config-e35df8c16e2f2defb146470f1755d7ec534cf54a.tar.gz
wireguard-config-e35df8c16e2f2defb146470f1755d7ec534cf54a.zip
Makefile: add view
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 68b1ee8..7e1d174 100644
--- a/Makefile
+++ b/Makefile
@@ -43,3 +43,7 @@ URL := http://localhost:4000/wireguard-config/
.PHONY: wget
wget:
wget --no-verbose --recursive --no-parent --convert-links --adjust-extension -e robots=off --directory-prefix=.wget -- '$(call escape,$(URL))'
+
+.PHONY: view
+view:
+ xdg-open '$(call escape,$(URL))' &> /dev/null