Skip to content

Commit fd992d5

Browse files
committed
Updated Readme and bumped version
1 parent 2beb6b1 commit fd992d5

File tree

4 files changed

+17
-7
lines changed

4 files changed

+17
-7
lines changed

HtmlMinifier.Tests/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("1.7.0.0")]
36-
[assembly: AssemblyFileVersion("1.7.0.0")]
35+
[assembly: AssemblyVersion("1.8.0.0")]
36+
[assembly: AssemblyFileVersion("1.8.0.0")]

README.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,21 @@ To HTML that looks like this:
2222

2323
## Usage Examples
2424

25-
In order to use from the command line, you simply pass through a folder path that contains all your images. The minifier will process all images in the root and subfolders.
25+
In order to use from the command line, you simply pass through a folder path that contains all of the files you want to minify. The minifier will process all images in the root and subfolders.
2626

27-
C:\>HtmlMinifier.exe "C:\ImagesFolder"
27+
C:\>HtmlMinifier.exe "C:\Folder"
2828

2929
If you'd like to restrict the number of characters per line and force it to break to the next line, use the minifier with the following optional value (where the number is the max character count).
3030

31-
C:\>HtmlMinifier.exe "C:\ImagesFolder" "60000"
31+
C:\>HtmlMinifier.exe "C:\Folder" "60000"
32+
33+
There is also the option to disable certain minification features. For example, if you use a you rely on HTML comments (Knockout, Angular, etc.) you might want to leave them in the minified HTML.
34+
35+
C:\>HtmlMinifier.exe "C:\Folder" ignorehtmlcomments
36+
37+
You can also disable the minification of JavaScript Comments
38+
39+
C:\>HtmlMinifier.exe "C:\Folder" ignorejscomments
3240

3341
If you'd like to find out how to use this with MSBUILD and your next publish, please follow this [link.](http://deanhume.com/Home/BlogPost/a-simple-html-minifier-for-asp-net/2097)
3442

ViewMinifier/Program.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ static void Main(string[] args)
3030
{
3131
if (filePath.IsHtmlFile())
3232
{
33+
Console.WriteLine("Beginning Minification");
34+
3335
// Minify contents
3436
string minifiedContents = MinifyHtml(filePath, features);
3537

ViewMinifier/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("1.7.0.0")]
36-
[assembly: AssemblyFileVersion("1.7.0.0")]
35+
[assembly: AssemblyVersion("1.8.0.0")]
36+
[assembly: AssemblyFileVersion("1.8.0.0")]

0 commit comments

Comments
 (0)