Skip to content

Commit

Permalink
Added some instructions on how to build
Browse files Browse the repository at this point in the history
  • Loading branch information
Damon Oehlman committed Sep 4, 2012
1 parent a7f4963 commit 815bc25
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions readme.md
Expand Up @@ -45,3 +45,15 @@ On OS X you can use `pbpaste` and `pbcopy` to stream your clipboard in and out o
Now when you paste your clipboard into an editor you will get nice, pretty printed HTML:

![After pretty printing](https://github.com/maxogden/commonjs-html-prettyprinter/raw/master/img/after.png)

## Building

To rebuild the html module to use the latest version of [js-beautifier], see the following instructions:

- clone this repo: `git clone git://github.com/maxogden/commonjs-html-prettyprinter.git`
- install dev dependencies: `npm install`
- run the build: `npm run-script build`

At this point, the `lib/html.js` file should have been updated with the latest copy of the source from [js-beautifier]

[js-beautifier]: https://github.com/einars/js-beautify

0 comments on commit 815bc25

Please sign in to comment.