Commit e86bbe32 authored by Aurel's avatar Aurel

new task to build a jio for nodejs

parent 74abb3a6
......@@ -184,6 +184,29 @@ module.exports = function (grunt) {
'src/jio.storage/mappingstorage.js'
],
dest: 'dist/<%= pkg.name %>-<%= pkg.version %>.js'
// dest: 'jio.js'
},
nodejs: {
// duplicate files are ignored
src: [
// queries
'src/queries/parser-begin.js',
'src/queries/build/parser.js',
'src/queries/parser-end.js',
'src/queries/query.js',
'src/jio.date/*.js',
'src/jio.js',
'src/jio.storage/replicatestorage.js',
'src/jio.storage/uuidstorage.js',
'src/jio.storage/erp5storage.js',
'src/jio.storage/querystorage.js',
'src/jio.storage/localstorage.js',
],
dest: 'dist/nodejs/<%= pkg.name %>-<%= pkg.version %>.js'
// dest: 'jio.js'
}
},
......
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