Skip to content

Commit b6f6eda

Browse files
authored
Merge pull request #5 from beman-project/add-sender-concept
added some components needed for sender concepts
2 parents 9de63cf + 0bb0f52 commit b6f6eda

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+4131
-7
lines changed

Makefile

+9-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
33

44
SANITIZERS = none msan asan usan tsan
5-
.PHONY: default todo ce distclean clean build test all $(SANITIZERS)
5+
.PHONY: default check ce todo distclean clean build test all $(SANITIZERS)
66

77
CXX_FLAGS = -g
88
SANITIZER = none
@@ -56,6 +56,14 @@ test: build
5656
ce:
5757
@mkdir -p $(BUILD)
5858
bin/mk-compiler-explorer.py $(BUILD)
59+
60+
check:
61+
@for h in `find include -name \*.hpp`; \
62+
do \
63+
from=`echo -n $$h | sed -n 's@.*Beman/\(.*\).hpp.*@\1@p'`; \
64+
< $$h sed -n "/^ *# *include <Beman\//s@.*[</]Beman/\(.*\).hpp>.*@$$from \1@p"; \
65+
done | tsort > /dev/null
66+
5967
todo:
6068
bin/mk-todo.py
6169

bin/mk-deps.py

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/usr/bin/python3
2+
3+
import re
4+
import subprocess
5+
6+
deps = {}
7+
8+
done_re = re.compile('^\+ (?P<name>.*)')
9+
with open("deps") as file:
10+
for line in file.readlines():
11+
match = done_re.match(line)
12+
if match:
13+
deps[match.group("name")] = 1
14+
15+
result = subprocess.run(["/usr/bin/tsort", "docs/dependency.txt"], capture_output=True, encoding="utf-8")
16+
for line in result.stdout.split("\n"):
17+
print(f'{"+" if line in deps else "-"} {line}')

0 commit comments

Comments
 (0)