Use /js/libs instead of /components
This commit is contained in:
parent
0a3cdc1e9b
commit
d014f0cdae
19
Gruntfile.js
19
Gruntfile.js
|
@ -6,29 +6,14 @@ module.exports = function(grunt) {
|
|||
},
|
||||
js: {
|
||||
files: {
|
||||
"client/js/components.min.js": "client/components/**/*.js"
|
||||
"client/js/libs.min.js": "client/js/libs/**/*.js"
|
||||
}
|
||||
}
|
||||
},
|
||||
nodewebkit: {
|
||||
src: "./**/*",
|
||||
options: {
|
||||
build_dir: "./build",
|
||||
mac: false
|
||||
}
|
||||
}
|
||||
});
|
||||
grunt.loadNpmTasks("grunt-contrib-uglify");
|
||||
grunt.loadNpmTasks("grunt-node-webkit-builder");
|
||||
grunt.registerTask(
|
||||
"build",
|
||||
function() {
|
||||
require("child_process").exec("rm -rf ./build");
|
||||
grunt.task.run("nodewebkit");
|
||||
}
|
||||
);
|
||||
grunt.registerTask(
|
||||
"default",
|
||||
"uglify"
|
||||
["uglify"]
|
||||
);
|
||||
};
|
||||
|
|
|
@ -253,7 +253,7 @@
|
|||
</script>
|
||||
</div>
|
||||
|
||||
<script src="js/components.min.js"></script>
|
||||
<script src="js/libs.min.js"></script>
|
||||
<script src="js/chat.js"></script>
|
||||
|
||||
</body>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "shout",
|
||||
"description": "The modern IRC client",
|
||||
"version": "0.8.1",
|
||||
"version": "0.8.2",
|
||||
"homepage": "http://github.com/erming/shout",
|
||||
"author": {
|
||||
"name": "Mattias Erming",
|
||||
|
|
Loading…
Reference in New Issue