UNPKG
grunt-contrib
Version:
latest (0.11.0)
0.11.0
0.10.2
0.10.1
0.10.0
0.9.0
0.8.0
0.7.0
0.6.1
0.6.0
0.5.0
0.4.0
0.3.0
0.2.0
0.1.7
0.1.6
0.1.5
0.1.4
0.1.4-pre
0.1.3
0.1.1
0.1.0
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
A collection of common grunt tasks.
github.com/gruntjs/grunt-contrib
gruntjs/grunt-contrib
grunt-contrib
/
test
/
clean_task.js
13 lines
(10 loc)
•
272 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
var
grunt =
require
(
"grunt"
);
exports
.
clean
= {
main
:
function
(
test
) { test.
expect
(
1
);
var
expectA =
false
;
var
resultA =
require
(
"path"
).
existsSync
(
"fixtures/output"
); test.
equal
(resultA, expectA,
"should rm -rf a directory"
); test.
done
(); } };