diff options
| author | Alexandre Flament <alex@al-f.net> | 2021-06-22 10:36:19 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-22 10:36:19 +0200 |
| commit | 2530576f244aef669d4261144a8dd4b47fd8c6b5 (patch) | |
| tree | 641ce08e889f8f85e99781f09ea73c01718968a0 /searx/static/themes/simple/gruntfile.js | |
| parent | fb2f4ba902200c2a9d3ce3358adbfa1e51ae9039 (diff) | |
| parent | c1f72b71ba1dbe51d16fcd39edb71c2ae1ddbdc6 (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.js | 6 |
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']); }; |