From 3d8a0ce428ce6b5e1e0585247ac90a82960dee8e Mon Sep 17 00:00:00 2001 From: Bartek Kryza Date: Sun, 28 May 2023 23:02:51 +0200 Subject: [PATCH] Updated README and CHANGELOG for 0.3.6 --- CHANGELOG.md | 1 + Makefile | 16 +++++----------- README.md | 8 ++++---- 3 files changed, 10 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5d8ded35..e3fcbfe3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ # CHANGELOG +### 0.3.6 * Added generation of packages in class and package diagrams from filesystem directories (#144) * Improved handling of class template specializations and their diff --git a/Makefile b/Makefile index b01ed963..2de24e3e 100644 --- a/Makefile +++ b/Makefile @@ -138,14 +138,8 @@ iwyu_fixes: debug docs: make -C docs toc -.PHONY: fedora_36 -fedora_36: - mkdir -p packaging/_BUILD/fedora/36 - git archive --format=tar.gz --prefix=clang-uml-$(PKG_VERSION)/ v$(GIT_VERSION) >packaging/_BUILD/fedora/36/clang-uml-$(PKG_VERSION).tar.gz - docker run --cpuset-cpus=0-7 -v $(PWD):$(PWD) fedora:36 sh -c "dnf install -y make git && cd ${PWD} && make OS=fedora DIST=36 VERSION=${PKG_VERSION} COMMIT=${GIT_COMMIT} BRANCH=${GIT_BRANCH} -C packaging rpm" - -.PHONY: fedora_37 -fedora_37: - mkdir -p packaging/_BUILD/fedora/37 - git archive --format=tar.gz --prefix=clang-uml-$(PKG_VERSION)/ v$(GIT_VERSION) >packaging/_BUILD/fedora/37/clang-uml-$(PKG_VERSION).tar.gz - docker run --cpuset-cpus=0-7 -v $(PWD):$(PWD) fedora:37 sh -c "dnf install -y make git && cd ${PWD} && make OS=fedora DIST=37 VERSION=${PKG_VERSION} COMMIT=${GIT_COMMIT} BRANCH=${GIT_BRANCH} -C packaging rpm" +.PHONY: fedora/% +fedora/%: + mkdir -p packaging/_BUILD/fedora/$* + git archive --format=tar.gz --prefix=clang-uml-$(PKG_VERSION)/ v$(GIT_VERSION) >packaging/_BUILD/fedora/$*/clang-uml-$(PKG_VERSION).tar.gz + docker run --cpuset-cpus=0-7 -v $(PWD):$(PWD) fedora:$* sh -c "dnf install -y make git && cd ${PWD} && make OS=fedora DIST=$* VERSION=${PKG_VERSION} COMMIT=${GIT_COMMIT} BRANCH=${GIT_BRANCH} -C packaging rpm" diff --git a/README.md b/README.md index 6388f686..addaa08e 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [![Build status](https://github.com/bkryza/clang-uml/actions/workflows/build.yml/badge.svg)](https://github.com/bkryza/clang-uml/actions) [![Coverage](https://codecov.io/gh/bkryza/clang-uml/branch/master/graph/badge.svg)](https://codecov.io/gh/bkryza/clang-uml) -[![Version](https://img.shields.io/badge/version-0.3.5-blue)](https://github.com/bkryza/clang-uml/releases) +[![Version](https://img.shields.io/badge/version-0.3.6-blue)](https://github.com/bkryza/clang-uml/releases) [![Version](https://img.shields.io/badge/LLVM-12,13,14,15,16-orange)](https://github.com/bkryza/clang-uml/releases) `clang-uml` is an automatic C++ to UML class, sequence, package and include diagram generator, driven by @@ -32,7 +32,7 @@ Main features supported so far include: * Diagram content filtering based on namespaces, elements and relationships - [_example_](docs/test_cases/t00040.md) * Optional package generation from namespaces - [_example_](docs/test_cases/t00036.md) * Optional package generation from subdirectories - [_example_](docs/test_cases/t00065.md) - * Interactive links to online code to classes, methods and class fields in SVG diagrams [_example_](docs/test_cases/t00002_class.svg) + * Interactive links to online code to classes, methods and class fields in SVG diagrams [_example_](https://raw.githubusercontent.com/bkryza/clang-uml/master/docs/test_cases/t00002_class.svg) * Support for plain C99/C11 code (struct and units relationships) - [_example_](docs/test_cases/t00057.md) * C++20 concept constraints - [_example_](docs/test_cases/t00059.md) * **Sequence diagram generation** @@ -42,12 +42,12 @@ Main features supported so far include: * Generation of try/catch blocks - [_example_](docs/test_cases/t20023.md) * Handling of template code including constexpr conditionals - [_example_](docs/test_cases/t20018.md) * Handling of lambda expressions - [_example_](docs/test_cases/t20012.md) - * Interactive links to online code to classes and call expressions [_example_](docs/test_cases/t20021_sequence.svg) + * Interactive links to online code to classes and call expressions [_example_](https://raw.githubusercontent.com/bkryza/clang-uml/master/docs/test_cases/t20021_sequence.svg) * **Package diagram generation** * Generation of package diagram based on C++ namespaces - [_example_](docs/test_cases/t30001.md) * Generation of package diagram based on subdirectories - [_example_](docs/test_cases/t30010.md) * Dependencies between packages based on symbols used in the code - [_example_](docs/test_cases/t30002.md) - * Interactive links to online code to packages - [_example_](docs/test_cases/t30002_package.svg) + * Interactive links to online code to packages - [_example_](https://raw.githubusercontent.com/bkryza/clang-uml/master/docs/test_cases/t30002_package.svg) * **Include graph diagram generation** * Show include graph for selected files - [_example_](docs/test_cases/t40001.md)