go-jsminify

command module
v0.0.0-...-03ba2fe Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 30, 2016 License: MIT Imports: 19 Imported by: 0

README

go-jsminify

A pure go based javascript minify tool.

Motivation

I needed a simple tool that can do js-minify on a target folder.

Installation

go get github.com/ibrahimnoorz/go-jsminify

Usage

*Note: Running this tool will overwrite existing files with minified version. Make a backup first.

  go build go-jsminify.go

  go-jsminify \<sourcecodefolder\> \<workercount\> -v

  go-jsminify c:\myproject\jsfiles 3 -v

  -v = verbose mode

TODO

  • Add support for writting the affected files to new location and renaming
  • Add logging support
  • Add support for changing the minifying library/tools

Credits

go-jsminify uses a pure go javascript minify library available at minify

Licence

Released under the MIT license.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL