-redo-ifchange cmd.list
+redo-ifchange cmd.list hjson-cli
redo-ifchange `cat cmd.list`
-rm -f `cat cmd.list`
+rm -f `cat cmd.list` hjson-cli
--- /dev/null
+cd ../src
+GO=${GO:-go}
+$GO build -o ../bin/$3 github.com/hjson/hjson-go/hjson-cli
$ xz --decompress --stdout nncp-@value{VERSION}.tar.xz | tar xf -
$ cd nncp-@value{VERSION}
$ redo all
+# look for bin/nncp-* binaries (and possibly hjson-cli one)
@end example
It uses @url{http://cr.yp.to/redo.html, redo} build system for that
@url{https://redo.readthedocs.io/, apenwarr/redo} (@code{contrib/do} is
from that project), @url{https://github.com/leahneukirchen/redo-c, redo-c}.
-There is @command{install} make-target respecting @env{DESTDIR}. It will
+There is @command{install} target respecting @env{DESTDIR}. It will
install binaries and info-documentation:
@example
}
@end verbatim
+Do not forget that Hjson can be safely converted to JSON and vice versa
+(loosing formatting and comments of course). By default
+@command{hjson-cli} utility from @code{github.com/hjson/hjson-go} is
+built together with @command{nncp-*} commands too. For querying
+information from the JSON from the command line you can use
+@code{github.com/itchyny/gojq} and @code{github.com/skanehira/gjo} for
+building it up.
+
And for being able to communicate with at least one other node, you just
need to add single key to the @code{neigh} section similar to the "self".