Permalink
Browse files

Adding postinstall script.

  • Loading branch information...
vesln committed Jan 28, 2012
1 parent 3bf38c3 commit 754ceb5156035ecd5aaf9136eabc488885693b20
Showing with 13 additions and 4 deletions.
  1. +5 −0 History.md
  2. +7 −4 Makefile
  3. +1 −0 package.json
View
@@ -1,4 +1,9 @@
+0.0.2 / 2012-01-28
+==================
+
+ * Fixing installation problems.
+
0.0.1 / 2012-01-28
==================
View
@@ -2,8 +2,11 @@ TESTS = test/*.test.js
test:
@NODE_ENV=test ./node_modules/.bin/mocha \
- --require should \
- --reporter spec \
- $(TESTS)
+ --require should \
+ --reporter spec \
+ $(TESTS)
+
+init:
+ chmod 755 ./data
-.PHONY: test
+.PHONY: test init
View
@@ -19,6 +19,7 @@
, "homepage": "http://github.com/vesln/box"
, "scripts": {
"test": "make test"
+ , "postinstall": "make init"
}
, "main": "./lib/cli"
, "bin": {

0 comments on commit 754ceb5

Please sign in to comment.