Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

coffee-script should build project as postinstall script.

(thanks to isaacs)
  • Loading branch information...
commit b290596f5c2286167990a156cb7f4513788f1078 1 parent 46596e1
@KirillTemnov authored
Showing with 1 addition and 5 deletions.
  1. +0 −4 Makefile
  2. +1 −1  package.json
View
4 Makefile
@@ -3,9 +3,5 @@
all:
coffee -b -c lib/*.coffee
-install:
- npm install coffee-script
- coffee -b -c lib/*.coffee
-
clean:
rm lib/*.js
View
2  package.json
@@ -3,7 +3,7 @@
"version": "0.5.1b",
"bin": { "strack" : "./bin/strack.js", "s": "./bin/strack.js"},
"main": "./lib/strack.js",
- "scripts": {"preinstall": "make install"},
+ "scripts": {"postinstall": "make all"},
"dependencies": {"colors": ">=0.3", "coffee-script": ">= 1.0.1"},
"engines": ["node >= 0.3.1"],
"author": "Temnov Kirill <allselead@gmail.com>",
Please sign in to comment.
Something went wrong with that request. Please try again.