forked from zaclys/searxng
[mod] oscar: move compiled files to the src directory
This commit is contained in:
parent
eda3b513ac
commit
c7133efb12
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -7,7 +7,7 @@ module.exports = function(grunt) {
|
||||||
separator: ';'
|
separator: ';'
|
||||||
},
|
},
|
||||||
dist: {
|
dist: {
|
||||||
src: ['js/searx_src/*.js'],
|
src: ['src/js/*.js'],
|
||||||
dest: 'js/searx.js'
|
dest: 'js/searx.js'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -38,26 +38,26 @@ module.exports = function(grunt) {
|
||||||
less: {
|
less: {
|
||||||
development: {
|
development: {
|
||||||
options: {
|
options: {
|
||||||
paths: ["less/pointhi", "less/logicodev", "less/logicodev-dark", "less/bootstrap"]
|
paths: ["src/less/pointhi", "src/less/logicodev", "src/less/logicodev-dark"]
|
||||||
},
|
},
|
||||||
files: {
|
files: {
|
||||||
"css/pointhi.css": "less/pointhi/oscar.less",
|
"css/pointhi.css": "src/less/pointhi/oscar.less",
|
||||||
"css/logicodev.css": "less/logicodev-dark/oscar.less",
|
"css/logicodev.css": "src/less/logicodev-dark/oscar.less",
|
||||||
"css/logicodev-dark.css": "less/logicodev/oscar.less"
|
"css/logicodev-dark.css": "src/less/logicodev/oscar.less"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
production: {
|
production: {
|
||||||
options: {
|
options: {
|
||||||
paths: ["less/pointhi", "less/logicodev", "less/logicodev-dark", "less/bootstrap"],
|
paths: ["src/less/pointhi", "src/less/logicodev", "src/less/logicodev-dark"],
|
||||||
plugins: [
|
plugins: [
|
||||||
new (require('less-plugin-clean-css'))()
|
new (require('less-plugin-clean-css'))()
|
||||||
],
|
],
|
||||||
sourceMap: true,
|
sourceMap: true,
|
||||||
},
|
},
|
||||||
files: {
|
files: {
|
||||||
"css/pointhi.min.css": "less/pointhi/oscar.less",
|
"css/pointhi.min.css": "src/less/pointhi/oscar.less",
|
||||||
"css/logicodev.min.css": "less/logicodev/oscar.less",
|
"css/logicodev.min.css": "src/less/logicodev/oscar.less",
|
||||||
"css/logicodev-dark.min.css": "less/logicodev-dark/oscar.less"
|
"css/logicodev-dark.min.css": "src/less/logicodev-dark/oscar.less"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -67,7 +67,7 @@ module.exports = function(grunt) {
|
||||||
tasks: ['jshint', 'concat', 'uglify']
|
tasks: ['jshint', 'concat', 'uglify']
|
||||||
},
|
},
|
||||||
oscar_styles: {
|
oscar_styles: {
|
||||||
files: ['less/pointhi/**/*.less'],
|
files: ['src/less/pointhi/**/*.less'],
|
||||||
tasks: ['less:development', 'less:production']
|
tasks: ['less:development', 'less:production']
|
||||||
},
|
},
|
||||||
bootstrap_styles: {
|
bootstrap_styles: {
|
||||||
|
|
Loading…
Reference in New Issue