Skip to content

Commit

Permalink
[Fixes GeoNode#5446] Fix binary files removed from lib
Browse files Browse the repository at this point in the history
  • Loading branch information
t-book committed Dec 23, 2019
1 parent 41bbc78 commit 4307136
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
29 changes: 29 additions & 0 deletions geonode/static/gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,35 @@ module.exports = function(grunt) {
cwd: 'node_modules',
dest: 'lib/img',
src: fileHandling.images
},
{
expand: true,
flatten: true,
nonull: true,
cwd: 'node_modules',
dest: 'lib/fonts',
src: fileHandling.lib_fonts
},{
expand: true,
flatten: true,
nonull: true,
cwd: 'node_modules',
dest: 'lib/css/fonts',
src: fileHandling.lib_css_fonts
},{
expand: true,
flatten: true,
nonull: true,
cwd: 'node_modules',
dest: 'lib/css/assets',
src: fileHandling.lib_css_assets
}, {
expand: true,
flatten: true,
nonull: true,
cwd: 'node_modules',
dest: 'lib/css',
src: fileHandling.lib_css_png
}, {
expand: true,
flatten: true,
Expand Down
12 changes: 12 additions & 0 deletions geonode/static/static_dependencies.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,5 +116,17 @@
"timeago/*.png",
"timeago/*.png",
"zeroclipboard/dist/ZeroClipboard.swf"
],
"lib_fonts": [
"bootstrap/fonts/*"
],
"lib_css_fonts": [
"raty-js/lib/fonts/*"
],
"lib_css_assets": [
"leaflet-measure/assets/*"
],
"lib_css_png": [
"leaflet-fullscreen/dist/*.png"
]
}

0 comments on commit 4307136

Please sign in to comment.