mirror of
https://github.com/searxng/searxng.git
synced 2024-11-27 05:11:03 +00:00
[doc] command descriptions
This commit is contained in:
parent
5c073fdd83
commit
1e4f0bedc5
1 changed files with 25 additions and 1 deletions
26
manage.sh
26
manage.sh
|
@ -66,4 +66,28 @@ locales() {
|
||||||
pybabel compile -d "$SEARX_DIR/translations"
|
pybabel compile -d "$SEARX_DIR/translations"
|
||||||
}
|
}
|
||||||
|
|
||||||
$ACTION
|
help() {
|
||||||
|
[ -z "$1" ] || echo "Error: $1\n"
|
||||||
|
echo "Searx manage.sh help
|
||||||
|
|
||||||
|
Commands
|
||||||
|
========
|
||||||
|
grunt_build - Build js files
|
||||||
|
help - This text
|
||||||
|
locales - Compile locales
|
||||||
|
pep8_check - Pep8 validation
|
||||||
|
py_test_coverage - Unit test coverage
|
||||||
|
robot_tests - Run selenium tests
|
||||||
|
styles - Build less files
|
||||||
|
tests - Run all python tests (pep8, unit, robot)
|
||||||
|
unit_tests - Run unit tests
|
||||||
|
update_dev_packages - Check & update development only dependency changes
|
||||||
|
update_packages - Check & update dependency changes
|
||||||
|
"
|
||||||
|
}
|
||||||
|
|
||||||
|
if type $ACTION 1>/dev/null; then
|
||||||
|
$ACTION
|
||||||
|
else
|
||||||
|
help "action not found"
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in a new issue