Please help
I need to install HTML tidy on Mac OS http://w3c.github.com/tidy-html5/
I call the commands in the Terminal and get nothing:
$ make -C build/gmake/
make: *** build/gmake/: No such file or directory. Stop.
$ sh build/gnuauto/setup.sh && ./configure && make
sh: build/gnuauto/setup.sh: No such file or directory
What's the problem? What else should I install?
libtidy is a C static and dynamic library that developers can integrate into their applications in order to bring all of Tidy's power to your favorite tools. libtidy is used today in desktop applications, web servers, and more.
HTML Tidy is a console application for correcting invalid HyperText Markup Language (HTML), detecting potential web accessibility errors, and for improving the layout and indent style of the resulting markup. It is also a cross-platform library for computer applications that provides HTML Tidy's features.
The most convenient way to configure Tidy is by using separate configuration file. Alternatively, you can name the default config file via the environment variable named HTML_TIDY , the value of which is the absolute path for the config file.
The following worked for me:
brew update
brew install tidy-html5
Shell output:
➜ ~ brew install tidy-html5
==> Downloading https://homebrew.bintray.com/bottles/tidy-html5-4.9.26.yosemite.
######################################################################## 100.0%
==> Pouring tidy-html5-4.9.26.yosemite.bottle.tar.gz
🍺 /usr/local/Cellar/tidy-html5/4.9.26: 8 files, 1.2M
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With