Loading grunt/config/cleanBuiltApp.js +1 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,7 @@ module.exports = function(grunt) { filesToDelete = [strippedFiles, uncompressedFiles], filesToKeep = [ 'dojo/dojo.js', 'dojo/resources/blank.gif', 'dojox/widget/ColorPicker/images/*.png', 'redmic/modules/app/App.js' 'leaflet/dist/images/*.png', 'redmic/modules/app/App.js' ]; grunt.config('redmicConfig.resourcesToCleanInBuiltApp', { Loading grunt/config/copy.js +12 −0 Original line number Diff line number Diff line Loading @@ -10,6 +10,10 @@ module.exports = function(grunt) { stylesDistPath = stylesPath + '/dist', distStylesSubPath = distPath + '/stylesheets', leafletPath = '/javascript/leaflet/', srcLeafletPath = publicPath + leafletPath, distLeafletPath = distPath + leafletPath, pdfjsPath = '/javascript/pdfjs/', srcPdfjsPath = publicPath + pdfjsPath, distPdfjsPath = distPath + pdfjsPath, Loading @@ -33,6 +37,14 @@ module.exports = function(grunt) { expand: true }] }, leaflet: { files: [{ cwd: srcLeafletPath, src: ['dist/images/marker-*.png'], dest: distLeafletPath, expand: true }] }, pdfjs: { files: [{ cwd: srcPdfjsPath + pdfjsWebName, Loading grunt/task/build.js +1 −1 Original line number Diff line number Diff line module.exports = function(grunt) { grunt.registerTask('build', ['buildStyles', 'copy:resources', 'copy:pdfjs', 'buildApp', 'packageApp']); ['buildStyles', 'copy:resources', 'copy:leaflet', 'copy:pdfjs', 'buildApp', 'packageApp']); }; Loading
grunt/config/cleanBuiltApp.js +1 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,7 @@ module.exports = function(grunt) { filesToDelete = [strippedFiles, uncompressedFiles], filesToKeep = [ 'dojo/dojo.js', 'dojo/resources/blank.gif', 'dojox/widget/ColorPicker/images/*.png', 'redmic/modules/app/App.js' 'leaflet/dist/images/*.png', 'redmic/modules/app/App.js' ]; grunt.config('redmicConfig.resourcesToCleanInBuiltApp', { Loading
grunt/config/copy.js +12 −0 Original line number Diff line number Diff line Loading @@ -10,6 +10,10 @@ module.exports = function(grunt) { stylesDistPath = stylesPath + '/dist', distStylesSubPath = distPath + '/stylesheets', leafletPath = '/javascript/leaflet/', srcLeafletPath = publicPath + leafletPath, distLeafletPath = distPath + leafletPath, pdfjsPath = '/javascript/pdfjs/', srcPdfjsPath = publicPath + pdfjsPath, distPdfjsPath = distPath + pdfjsPath, Loading @@ -33,6 +37,14 @@ module.exports = function(grunt) { expand: true }] }, leaflet: { files: [{ cwd: srcLeafletPath, src: ['dist/images/marker-*.png'], dest: distLeafletPath, expand: true }] }, pdfjs: { files: [{ cwd: srcPdfjsPath + pdfjsWebName, Loading
grunt/task/build.js +1 −1 Original line number Diff line number Diff line module.exports = function(grunt) { grunt.registerTask('build', ['buildStyles', 'copy:resources', 'copy:pdfjs', 'buildApp', 'packageApp']); ['buildStyles', 'copy:resources', 'copy:leaflet', 'copy:pdfjs', 'buildApp', 'packageApp']); };