Skip to content

Commit 6cbbbe4

Browse files
committed
Clean up Gruntfile
1 parent be3092f commit 6cbbbe4

File tree

3 files changed

+7
-21
lines changed

3 files changed

+7
-21
lines changed

Gruntfile.js

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ module.exports = function(grunt) {
1313
grunt.initConfig({
1414
clean: {
1515
all: {
16-
src: ["coverage/", "dist/", "build/"]
16+
src: ["coverage/"]
1717
}
1818
},
1919
jshint: {
@@ -31,13 +31,13 @@ module.exports = function(grunt) {
3131
},
3232
copy: {
3333
coverage: {
34-
src: ["build/test/**"],
34+
src: ["test/**"],
3535
dest: "coverage/"
3636
}
3737
},
3838
blanket: {
3939
all: {
40-
src: "build/src/",
40+
src: "src/",
4141
dest: "coverage/build/src/"
4242
}
4343
},
@@ -60,19 +60,6 @@ module.exports = function(grunt) {
6060
clearRequireCache: true
6161
}
6262
}
63-
},
64-
karma: {
65-
integrationTests: {
66-
options: {
67-
configFile: "karma.conf.js"
68-
}
69-
}
70-
},
71-
concat: {
72-
dist: {
73-
src: ["banner.js", "build/axolotl.js"],
74-
dest: "dist/axolotl.js"
75-
}
7663
}
7764
});
7865

@@ -81,6 +68,5 @@ module.exports = function(grunt) {
8168
grunt.registerTask("check", ["jshint", "jscs"]);
8269
grunt.registerTask("test", ["clean", "check", "mochaTest:unitTests"]);
8370
grunt.registerTask("default", ["test"]);
84-
grunt.registerTask("dist", ["default", "concat"]);
85-
grunt.registerTask("integration-test", ["dist", "mochaTest:integrationTests", "karma:integrationTests"]);
71+
grunt.registerTask("integration-test", ["mochaTest:integrationTests"]);
8672
};

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"chai": "~1.10.0",
1313
"chai-as-promised": "^4.1.1",
1414
"grunt-cli": "~0.1.13",
15-
"grunt-blanket": "0.0.8",
15+
"grunt-blanket": "0.0.10",
1616
"grunt-contrib-clean": "^0.6.0",
1717
"grunt-contrib-concat": "~0.5.0",
1818
"grunt-contrib-copy": "^0.7.0",

test/integration/node/axolotl.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"use strict";
22
var assert = require("assert");
3-
var ByteBuffer = require("ByteBuffer");
4-
var axolotl = require("../../../dist/axolotl");
3+
var ByteBuffer = require("bytebuffer");
4+
var axolotl = require("../../..");
55

66
var fromHex = function(hex) {
77
return ByteBuffer.fromHex(hex).toArrayBuffer();

0 commit comments

Comments
 (0)