summaryrefslogtreecommitdiff
path: root/searx/static/themes/simple/gruntfile.js
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2021-06-16 09:28:45 +0200
committerAlexandre Flament <alex@al-f.net>2021-06-16 12:38:06 +0200
commit6b80c57a3c04d6be37ae3c880f7e269fc362b107 (patch)
treeec3009353dfd713f9d91cf074b10f5d7a6bdcd5a /searx/static/themes/simple/gruntfile.js
parent49ea5b764454b4cd00eef67898b1c73ce3c28f31 (diff)
downloadsearxng-6b80c57a3c04d6be37ae3c880f7e269fc362b107.tar.gz
searxng-6b80c57a3c04d6be37ae3c880f7e269fc362b107.zip
[mod] simple theme: move source files to the src directory
Diffstat (limited to 'searx/static/themes/simple/gruntfile.js')
-rw-r--r--searx/static/themes/simple/gruntfile.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/searx/static/themes/simple/gruntfile.js b/searx/static/themes/simple/gruntfile.js
index 4c14116b2..e1b44aa72 100644
--- a/searx/static/themes/simple/gruntfile.js
+++ b/searx/static/themes/simple/gruntfile.js
@@ -6,12 +6,12 @@ module.exports = function(grunt) {
pkg: grunt.file.readJSON('package.json'),
watch: {
scripts: {
- files: ['<%= jshint.files %>', 'less/*.less'],
+ files: ['src/**'],
tasks: ['jshint', 'concat', 'uglify', 'webfont', 'less:development', 'less:production']
}
},
jshint: {
- files: ['js/searx_src/*.js', 'js/searx_header/*.js', '../__common__/js/*.js'],
+ files: ['src/js/main/*.js', 'src/js/head/*.js', '../__common__/js/*.js'],
options: {
reporterOutput: "",
proto: true,
@@ -29,8 +29,8 @@ module.exports = function(grunt) {
separator: ';'
},
files: {
- 'js/searx.head.js': ['js/searx_head/*.js'],
- 'js/searx.js': ['js/searx_src/*.js', '../__common__/js/*.js']
+ 'js/searx.head.js': ['src/js/head/*.js'],
+ 'js/searx.js': ['src/js/main/*.js', '../__common__/js/*.js', 'js/autocomplete.js']
}
}
},
@@ -60,8 +60,8 @@ module.exports = function(grunt) {
banner: '/*! searx | <%= grunt.template.today("dd-mm-yyyy") %> | <%= process.env.GIT_URL %> */\n'
},
files: {
- "css/searx.css": "less/style.less",
- "css/searx-rtl.css": "less/style-rtl.less"
+ "css/searx.css": "src/less/style.less",
+ "css/searx-rtl.css": "src/less/style-rtl.less"
}
},
production: {
@@ -77,8 +77,8 @@ module.exports = function(grunt) {
banner: '/*! searx | <%= grunt.template.today("dd-mm-yyyy") %> | <%= process.env.GIT_URL %> */\n'
},
files: {
- "css/searx.min.css": "less/style.less",
- "css/searx-rtl.min.css": "less/style-rtl.less"
+ "css/searx.min.css": "src/less/style.less",
+ "css/searx-rtl.min.css": "src/less/style-rtl.less"
}
},
},