File tree 2 files changed +6
-10
lines changed
2 files changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ language: node_js
2
2
node_js :
3
3
- " 0.10"
4
4
- " 0.12"
5
- - " iojs-v2.1.0"
6
5
- " 4"
7
6
sudo : false
8
7
after_success : npm run coveralls
Original file line number Diff line number Diff line change
1
+ export PATH := ./node_modules/.bin/:$(PATH ) :./bin/
2
+
1
3
PACKAGE = asyncjs
2
- CWD := $(shell pwd)
3
- NODEUNIT = "$(CWD ) /node_modules/.bin/nodeunit"
4
- UGLIFY = "$(CWD ) /node_modules/.bin/uglifyjs"
5
- JSHINT = "$(CWD ) /node_modules/.bin/jshint"
6
- JSCS = "$(CWD ) /node_modules/.bin/jscs"
7
4
XYZ = node_modules/.bin/xyz --repo git@github.com:caolan/async.git
8
5
9
6
BUILDDIR = dist
@@ -14,17 +11,17 @@ all: lint test clean build
14
11
build : $(wildcard lib/* .js)
15
12
mkdir -p $(BUILDDIR )
16
13
cp $(SRC ) $(BUILDDIR ) /async.js
17
- cd $(BUILDDIR ) && $( UGLIFY ) async.js -mc --source-map async.min.map -o async.min.js
14
+ cd $(BUILDDIR ) && uglifyjs async.js -mc --source-map async.min.map -o async.min.js
18
15
19
16
test :
20
- $( NODEUNIT ) test
17
+ nodeunit test
21
18
22
19
clean :
23
20
rm -rf $(BUILDDIR )
24
21
25
22
lint :
26
- $( JSHINT ) $(SRC ) test/* .js mocha_test/* perf/* .js
27
- $( JSCS ) $(SRC ) test/* .js mocha_test/* perf/* .js
23
+ jshint $(SRC ) test/* .js mocha_test/* perf/* .js
24
+ jscs $(SRC ) test/* .js mocha_test/* perf/* .js
28
25
29
26
.PHONY : test lint build all clean
30
27
You can’t perform that action at this time.
0 commit comments