Command Line Tool

Compress JavaScript files:

  1: WebOptimizer.TestClient.exe js <path to destination file> <path1 to source files> <path2 to source files> <path3 to source files> etc

Compress css files:

  1: WebOptimizer.TestClient.exe css <path to destination file> <path1 to source files> <path2 to source files> <path3 to source files> etc

Execute configuration file:

  1: WebOptimizer.TestClient.exe config <path to configuration file>

A configuraton file is a simple json-file that you can create with the Windows Client.

Usage in Visual Studio

Go to Project Properties\Build Events. In the "Post-build event commmand line" write command line script.

Windows Client

  1. Start Windows Client
  2. Create tasks and add sources
  3. Save to file

Last edited Mar 16, 2014 at 12:08 AM by sidwall, version 11