summaryrefslogtreecommitdiff
path: root/searx/static/themes/simple/gruntfile.js
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2021-06-22 10:36:19 +0200
committerGitHub <noreply@github.com>2021-06-22 10:36:19 +0200
commit2530576f244aef669d4261144a8dd4b47fd8c6b5 (patch)
tree641ce08e889f8f85e99781f09ea73c01718968a0 /searx/static/themes/simple/gruntfile.js
parentfb2f4ba902200c2a9d3ce3358adbfa1e51ae9039 (diff)
parentc1f72b71ba1dbe51d16fcd39edb71c2ae1ddbdc6 (diff)
Merge pull request #157 from searxng/mod_static_build
static build: move generated files to searx/static/themes/*/src/generated
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']);
};