view Makefile @ 29:c5fa8ee08059

Put a flake8 configuration into the new file "tox.ini". Currently only per-file ignores for the French pseudocode.
author Franz Glasner <fzglas.hg@dom66.de>
date Tue, 21 Apr 2026 10:44:28 +0200
parents b92f660f2461
children 742496328de6
line wrap: on
line source

# dev and build helper
# :-
# SPDX-FileCopyrightText: © 2026 Franz Glasner
# SPDX-License-Identifier: MIT
# :-

.PHONY: help all clean distclean dist build tests flake8

help:
	@echo Targets: help, clean, distclean, dist, build

all: tests flake8

build:
	python -m build

dist: distclean build

distclean: clean
	rm -rf dist/ *.egg-info

clean:
	rm -rf __arch/
	find . -name '*.pyc' -delete

tests:
	-python -m unittest discover -s tests

flake8:
	-flake8 pygments_lexer_pseudocode2
	-flake8 tests