Skip to content
This repository was archived by the owner on Mar 1, 2018. It is now read-only.

Commit 1cf1e49

Browse files
committed
Fork as fast-closure-compiler2
1 parent 7e8c8a1 commit 1cf1e49

File tree

2 files changed

+23
-8
lines changed

2 files changed

+23
-8
lines changed

README.md

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,24 @@
1-
# fast-closure-compiler
1+
fast-closure-compiler2
2+
====
23

34
This gets around the long startup time of [Google Closure Compiler](https://developers.google.com/closure/compiler/) using [Nailgun](http://www.martiansoftware.com/nailgun/), which runs a single java process in the background and keeps all of the classes loaded.
45

5-
Installation:
6+
## Installation:
67

7-
npm install fast-closure-compiler
8+
npm install fast-closure-compiler2
89

9-
Usage:
10+
## Usage:
1011

11-
closure --js script.js --js_output_file script.min.js
12+
fastclosure --js script.js --js_output_file script.min.js
13+
14+
## fast-closure-compiler2 vs. fast-closure-compiler
15+
16+
Folked because the original [fast-closure-compiler](https://github.com/evanw/fast-closure-compiler) is not maintained.
17+
18+
The advantages are:
19+
20+
* Support latest Closure Compiler and Nailgun
21+
* Support Mac OS 10.9 and 10.10
22+
* Support Linux environment in addition to Mac OS
23+
* Expose `fastclosure` as global command instead of `closure`
24+
* Now maintena

package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
{
2-
"name": "fast-closure-compiler",
2+
"name": "fast-closure-compiler2",
33
"description": "Make the Google Closure Compiler start faster",
44
"preferGlobal": "true",
5-
"version": "0.0.1",
6-
"bin": { "closure": "bin/closure" },
5+
"version": "0.1.0",
6+
"bin": {
7+
"fastclosure": "bin/closure"
8+
},
79
"scripts": { "install": "make install" },
810
"license": "MIT"
911
}

0 commit comments

Comments
 (0)