mirror of
https://github.com/nikdoof/smsbot.git
synced 2025-12-13 10:02:15 +00:00
feat(build): Switch to Taskfile
This commit is contained in:
7
Makefile
7
Makefile
@@ -1,7 +0,0 @@
|
|||||||
.venv:
|
|
||||||
python3 -m pip install poetry
|
|
||||||
python3 -m poetry install --with github
|
|
||||||
|
|
||||||
lint: .venv
|
|
||||||
python3 -m poetry run ruff check --output-format=github --select=E9,F63,F7,F82 --target-version=py37 .
|
|
||||||
python3 -m poetry run ruff check --output-format=github --target-version=py37 .
|
|
||||||
12
Taskfile.yaml
Normal file
12
Taskfile.yaml
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
version: 3
|
||||||
|
tasks:
|
||||||
|
python:lint:
|
||||||
|
desc: Lint Python files
|
||||||
|
cmds:
|
||||||
|
- poetry run ruff check --output-format=github --select=E9,F63,F7,F82 --target-version=py39 .
|
||||||
|
- poetry run ruff check --output-format=github --target-version=py39 .
|
||||||
|
|
||||||
|
docker:build:
|
||||||
|
desc: Build the container using Docker
|
||||||
|
cmds:
|
||||||
|
- docker build . -t smsbot:latest
|
||||||
Reference in New Issue
Block a user