aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-03-19 02:31:29 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2022-03-19 02:31:29 +0300
commit372ad9496db4d46b5a04d124089ebdce09eb18b2 (patch)
tree57b3344a64343c792c3c3ac7d47a8e9a34ac2a80
parentMakefile: fix accidental failures (diff)
downloadsorting-algorithms-372ad9496db4d46b5a04d124089ebdce09eb18b2.tar.gz
sorting-algorithms-372ad9496db4d46b5a04d124089ebdce09eb18b2.zip
Makefile: add view
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ddee2ad..e0613f8 100644
--- a/Makefile
+++ b/Makefile
@@ -43,3 +43,7 @@ URL := http://localhost:4000/sorting-algorithms/
.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