Last active
June 26, 2018 10:03
-
-
Save f3r/ea01496ff191f715a9b8 to your computer and use it in GitHub Desktop.
Tidy-HTML5 Installer for mac
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# HTML Tidy with HTML5 support | |
# https://github.com/htacg/tidy-html5 | |
# | |
# Available after install at /usr/local/tidy-html | |
INSTALL_PATH=/tmp/tidy-html5 | |
brew install cmake | |
git clone [email protected]:htacg/tidy-html5.git $INSTALL_PATH | |
cd $INSTALL_PATH/build/cmake | |
cmake ../.. | |
make | |
sudo make install | |
sudo mv /usr/local/bin/tidy /usr/local/bin/tidy-html | |
sudo rm -rf $INSTALL_PATH |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment