forked from Ponysearch/Ponysearch
attempt to add the marlo theme to the theme building process
This commit is contained in:
parent
4f2c6e8db5
commit
f54d7c74a2
1 changed files with 20 additions and 0 deletions
|
@ -12,6 +12,9 @@ themes.:
|
|||
simple.:
|
||||
build : build simple theme
|
||||
test : test simple theme
|
||||
marlo.:
|
||||
build : build simple theme
|
||||
test : test simple theme
|
||||
EOF
|
||||
}
|
||||
|
||||
|
@ -20,6 +23,7 @@ themes.all() {
|
|||
pygments.less
|
||||
node.env
|
||||
themes.simple
|
||||
themes.marlo
|
||||
)
|
||||
dump_return $?
|
||||
}
|
||||
|
@ -56,6 +60,14 @@ themes.simple() {
|
|||
dump_return $?
|
||||
}
|
||||
|
||||
themes.marlo() {
|
||||
( set -e
|
||||
build_msg GRUNT "theme: marlo"
|
||||
npm --prefix searx/static/themes/marlo run build
|
||||
)
|
||||
dump_return $?
|
||||
}
|
||||
|
||||
themes.simple.test() {
|
||||
build_msg TEST "theme: simple"
|
||||
nodejs.ensure
|
||||
|
@ -63,3 +75,11 @@ themes.simple.test() {
|
|||
npm --prefix searx/static/themes/simple run test
|
||||
dump_return $?
|
||||
}
|
||||
|
||||
themes.marlo.test() {
|
||||
build_msg TEST "theme: marlo"
|
||||
nodejs.ensure
|
||||
npm --prefix searx/static/themes/marlo install
|
||||
npm --prefix searx/static/themes/marlo run test
|
||||
dump_return $?
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue