diff --git a/Makefile b/Makefile index 8431fcf..bddcc22 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ ZIG_FLAGS ?= --release NCDU_VERSION=$(shell grep 'program_version = "' src/main.zig | sed -e 's/^.*"\(.\+\)".*$$/\1/') -.PHONY: build +.PHONY: build test build: release release: @@ -93,3 +93,8 @@ static:\ static-linux-x86 \ static-linux-aarch64 \ static-linux-arm + +test: + zig build test + mandoc -T lint ncdu.1 + reuse lint diff --git a/ncdu.1 b/ncdu.1 index ee2bf67..e6b3769 100644 --- a/ncdu.1 +++ b/ncdu.1 @@ -473,6 +473,16 @@ the local system without any network latency, and .Nm does not keep the entire directory structure in memory when exporting, so this won't consume much memory on the remote system. +.Sh SEE ALSO +.Xr du 1 , +.Xr tree 1 . +.Pp +.Nm +has a website: +.Lk https://dev.yorhel.nl/ncdu +.Sh AUTHORS +Written by +.An Yorhel Aq Mt projects@yorhel.nl .Sh BUGS Directory hard links and firmlinks (MacOS) are not supported. They are not detected as being hard links, and will thus get scanned and @@ -500,13 +510,3 @@ directory. Please report any other bugs you may find at the bug tracker, which can be found on the web site at .Lk https://dev.yorhel.nl/ncdu -.Sh SEE ALSO -.Xr du 1 , -.Xr tree 1 . -.Pp -.Nm -has a website: -.Lk https://dev.yorhel.nl/ncdu -.Sh AUTHORS -Written by -.An Yorhel Aq Mt projects@yorhel.nl