Skip to content
Snippets Groups Projects
Commit f27b2847 authored by Chris Pastl's avatar Chris Pastl
Browse files

chore(pre-commit): add hooks for spell and lint

parent f8ebb0c4
No related branches found
No related tags found
1 merge request!6pre-commit: add hooks for spell and lint
Pipeline #4571 passed
repos:
- repo: https://github.com/codespell-project/codespell
rev: v2.2.5
hooks:
- id: codespell
args: []
- repo: local
hooks:
- id: liquidsoap-check
name: liquidsoap-check
entry: sh -c 'liquidsoap --check src/engine.liq'
language: system
......@@ -62,13 +62,16 @@ spell::
codespell $(wildcard *.md) docs src tests config contrib
init.app::
cp -n config/sample.engine-core.ini config/engine-core.ini
cp -n config/sample.engine-core.ini config/engine-core.ini || true
mkdir -p audio/fallback
mkdir -p audio/playlist
mkdir -p audio/source
init.dev:: init.app
sudo apt install -y codespell
sudo apt install -y pre-commit
pre-commit autoupdate
pre-commit install
test::
(cd tests && liquidsoap engine_test_suite.liq)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment