view Makefile @ 30:6f3557637f0e

FIX: Add tox.ini also to MANIFEST.in
author Franz Glasner <fzglas.hg@dom66.de>
date Tue, 21 Apr 2026 10:45:17 +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