Commit df82beb1 authored by Vadim Makeev's avatar Vadim Makeev

New build and test system

parent c3df8331
node_modules
\ No newline at end of file
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
uglify: {
options: {
mangle: true,
banner: '/**\n * Shower HTML presentation engine: github.com/shower/shower\n * @copyright 2010–<%= grunt.template.today("yyyy") %> Vadim Makeev, pepelsbey.net\n * @license MIT license: github.com/shower/shower/wiki/MIT-License\n */\n'
},
build: {
src: '<%= pkg.name %>.js',
dest: '<%= pkg.name %>.min.js'
}
},
dalek: {
test: {
src: 'tests/keys.js'
}
}
});
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-dalek');
grunt.registerTask('default', ['uglify', 'dalek']);
};
\ No newline at end of file
{
"name": "shower",
"description": "Shower HTML presentation engine",
"repository": "https://github.com/shower/shower/",
"version": "1.0.0",
"devDependencies": {
"dalekjs": "0.0.8",
"grunt": "~0.4.2",
"grunt-contrib-uglify": "~0.3.0",
"grunt-dalek": "~0.2.0"
}
}
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment