annotate Makefile @ 38:69522d4cafac

Remove another unneeded local variable
author Franz Glasner <fzglas.hg@dom66.de>
date Wed, 22 Apr 2026 16:27:35 +0200
parents b92f660f2461
children 742496328de6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15
db0171f62e5a A Makefile to help building and testing
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
1 # dev and build helper
db0171f62e5a A Makefile to help building and testing
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
2 # :-
db0171f62e5a A Makefile to help building and testing
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
3 # SPDX-FileCopyrightText: © 2026 Franz Glasner
db0171f62e5a A Makefile to help building and testing
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
4 # SPDX-License-Identifier: MIT
db0171f62e5a A Makefile to help building and testing
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
5 # :-
db0171f62e5a A Makefile to help building and testing
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
6
16
b92f660f2461 Begin a test infrastructure: using unittest and flake8.
Franz Glasner <fzglas.hg@dom66.de>
parents: 15
diff changeset
7 .PHONY: help all clean distclean dist build tests flake8
15
db0171f62e5a A Makefile to help building and testing
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
8
db0171f62e5a A Makefile to help building and testing
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
9 help:
db0171f62e5a A Makefile to help building and testing
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
10 @echo Targets: help, clean, distclean, dist, build
db0171f62e5a A Makefile to help building and testing
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
11
16
b92f660f2461 Begin a test infrastructure: using unittest and flake8.
Franz Glasner <fzglas.hg@dom66.de>
parents: 15
diff changeset
12 all: tests flake8
b92f660f2461 Begin a test infrastructure: using unittest and flake8.
Franz Glasner <fzglas.hg@dom66.de>
parents: 15
diff changeset
13
15
db0171f62e5a A Makefile to help building and testing
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
14 build:
db0171f62e5a A Makefile to help building and testing
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
15 python -m build
db0171f62e5a A Makefile to help building and testing
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
16
db0171f62e5a A Makefile to help building and testing
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
17 dist: distclean build
db0171f62e5a A Makefile to help building and testing
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
18
db0171f62e5a A Makefile to help building and testing
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
19 distclean: clean
db0171f62e5a A Makefile to help building and testing
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
20 rm -rf dist/ *.egg-info
db0171f62e5a A Makefile to help building and testing
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
21
db0171f62e5a A Makefile to help building and testing
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
22 clean:
db0171f62e5a A Makefile to help building and testing
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
23 rm -rf __arch/
db0171f62e5a A Makefile to help building and testing
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
24 find . -name '*.pyc' -delete
16
b92f660f2461 Begin a test infrastructure: using unittest and flake8.
Franz Glasner <fzglas.hg@dom66.de>
parents: 15
diff changeset
25
b92f660f2461 Begin a test infrastructure: using unittest and flake8.
Franz Glasner <fzglas.hg@dom66.de>
parents: 15
diff changeset
26 tests:
b92f660f2461 Begin a test infrastructure: using unittest and flake8.
Franz Glasner <fzglas.hg@dom66.de>
parents: 15
diff changeset
27 -python -m unittest discover -s tests
b92f660f2461 Begin a test infrastructure: using unittest and flake8.
Franz Glasner <fzglas.hg@dom66.de>
parents: 15
diff changeset
28
b92f660f2461 Begin a test infrastructure: using unittest and flake8.
Franz Glasner <fzglas.hg@dom66.de>
parents: 15
diff changeset
29 flake8:
b92f660f2461 Begin a test infrastructure: using unittest and flake8.
Franz Glasner <fzglas.hg@dom66.de>
parents: 15
diff changeset
30 -flake8 pygments_lexer_pseudocode2
b92f660f2461 Begin a test infrastructure: using unittest and flake8.
Franz Glasner <fzglas.hg@dom66.de>
parents: 15
diff changeset
31 -flake8 tests