File tree 4 files changed +6
-24
lines changed
4 files changed +6
-24
lines changed Original file line number Diff line number Diff line change 1
1
node_js :
2
+ - " 0.10"
2
3
- " 0.11"
3
4
language : node_js
Original file line number Diff line number Diff line change 1
1
BIN = ./node_modules/.bin/
2
- SRC = $(shell find lib -name "* .js")
3
- BUILD = $(subst lib,build,$(SRC ) )
4
2
NODE ?= node
5
3
6
- build :
7
- @mkdir -p build/remotes
8
- @$(MAKE ) $(BUILD )
9
-
10
- build/% .js : lib/% .js
11
- @$(BIN ) regenerator $< > $@
12
-
13
- clean :
14
- @rm -rf build
15
-
16
- test tests :
4
+ test :
17
5
@$(NODE ) $(BIN ) mocha \
18
6
--timeout 4000 \
19
7
--require should \
20
8
--reporter spec \
21
9
--harmony-generators \
22
10
--bail
23
11
24
- .PHONY : test tests build clean
12
+ .PHONY : test
Original file line number Diff line number Diff line change 1
- try {
2
- module . exports = require ( './lib' )
3
- } catch ( err ) {
4
- if ( err . message !== 'Unexpected token *' ) throw err
5
- module . exports = require ( './build' )
6
- }
1
+ module . exports = require ( './lib' ) ;
Original file line number Diff line number Diff line change 31
31
"devDependencies" : {
32
32
"mocha" : " ^1.17" ,
33
33
"should" : " ^3.0" ,
34
- "gnode" : " ~0.0.6" ,
35
- "regenerator" : " ~0.3.4"
34
+ "gnode" : " ~0.0.6"
36
35
},
37
36
"scripts" : {
38
- "test" : " NODE=gnode make test" ,
39
- "prepublish" : " make clean build"
37
+ "test" : " NODE=gnode make test"
40
38
},
41
39
"engines" : {
42
40
"node" : " >= 0.11.4"
You can’t perform that action at this time.
0 commit comments