diff options
Diffstat (limited to 'utils/lib_sxng_vite.sh')
| -rw-r--r-- | utils/lib_sxng_vite.sh | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/utils/lib_sxng_vite.sh b/utils/lib_sxng_vite.sh index 7eb670fba..bb6a881cc 100644 --- a/utils/lib_sxng_vite.sh +++ b/utils/lib_sxng_vite.sh @@ -9,6 +9,8 @@ vite.help(){ vite.: .. to be done .. simple.: build: build static files of the simple theme + fix: run prettiers on simple theme + lint: run linters on simple theme dev: start development server EOF } @@ -36,8 +38,6 @@ vite.simple.build() { pushd "${VITE_SIMPLE_THEME}" npm install - npm run fix - npm run icons.html npm run build popd &> /dev/null ) @@ -50,6 +50,13 @@ vite.simple.fix() { ) } +vite.simple.lint() { + ( set -e + node.env + npm --prefix client/simple run lint + ) +} + templates.simple.pygments() { build_msg PYGMENTS "searxng_extra/update/update_pygments.py" pyenv.cmd python searxng_extra/update/update_pygments.py \ |