From dca3bcca9e1917dd3874ba9e40e1055e32caba34 Mon Sep 17 00:00:00 2001 From: Alexandre Flament Date: Fri, 18 Jun 2021 17:33:56 +0200 Subject: [mod] simple theme: include fonts "npm run webfont" to build the fonts directory. It requires fontforge and ttfautohint distro packages. partial revert of commit 7137d2893f33e9158e8563a21d9586119d175269 --- searx/static/themes/simple/gruntfile.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'searx/static/themes/simple/gruntfile.js') diff --git a/searx/static/themes/simple/gruntfile.js b/searx/static/themes/simple/gruntfile.js index 1dea80bd4..e34d4ee4f 100644 --- a/searx/static/themes/simple/gruntfile.js +++ b/searx/static/themes/simple/gruntfile.js @@ -7,7 +7,7 @@ module.exports = function(grunt) { watch: { scripts: { files: ['src/**'], - tasks: ['jshint', 'concat', 'uglify', 'webfont', 'less:development', 'less:production'] + tasks: ['jshint', 'copy', 'concat', 'uglify', 'less:development', 'less:production'] } }, jshint: { @@ -117,7 +117,7 @@ module.exports = function(grunt) { 'node_modules/ionicons-npm/src/android-close.svg', ], dest: 'fonts', - destLess: '.', + destLess: 'src/generated', options: { font: 'ion', hashes : true, @@ -194,5 +194,5 @@ module.exports = function(grunt) { grunt.registerTask('test', ['jshint']); - grunt.registerTask('default', ['jshint', 'copy', 'concat', 'uglify', 'webfont', 'less:development', 'less:production']); + grunt.registerTask('default', ['jshint', 'copy', 'concat', 'uglify', 'less:development', 'less:production']); }; -- cgit v1.2.3