Use /js/libs instead of /components

This commit is contained in:
Mattias Erming 2014-07-20 14:22:23 -07:00
parent 0a3cdc1e9b
commit d014f0cdae
17 changed files with 4 additions and 19 deletions

View File

@ -6,29 +6,14 @@ module.exports = function(grunt) {
}, },
js: { js: {
files: { 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-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( grunt.registerTask(
"default", "default",
"uglify" ["uglify"]
); );
}; };

View File

@ -253,7 +253,7 @@
</script> </script>
</div> </div>
<script src="js/components.min.js"></script> <script src="js/libs.min.js"></script>
<script src="js/chat.js"></script> <script src="js/chat.js"></script>
</body> </body>

View File

@ -1,7 +1,7 @@
{ {
"name": "shout", "name": "shout",
"description": "The modern IRC client", "description": "The modern IRC client",
"version": "0.8.1", "version": "0.8.2",
"homepage": "http://github.com/erming/shout", "homepage": "http://github.com/erming/shout",
"author": { "author": {
"name": "Mattias Erming", "name": "Mattias Erming",