summaryrefslogtreecommitdiff
path: root/searx/static/themes/simple/gruntfile.js
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2021-06-18 17:33:56 +0200
committerAlexandre Flament <alex@al-f.net>2021-06-22 08:15:17 +0200
commitdca3bcca9e1917dd3874ba9e40e1055e32caba34 (patch)
tree3e6a0f3bbd11c32068452f395c33dd69b7efca9e /searx/static/themes/simple/gruntfile.js
parentd20f6a1f19a34e4c2cd872fea7c92910a59b88b0 (diff)
[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
Diffstat (limited to 'searx/static/themes/simple/gruntfile.js')
-rw-r--r--searx/static/themes/simple/gruntfile.js6
1 files changed, 3 insertions, 3 deletions
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']);
};