Merge pull request #85 from bkryza/v0.3.1

V0.3.1
This commit is contained in:
Bartek Kryza
2023-01-22 19:49:09 +01:00
committed by GitHub
5 changed files with 16 additions and 13 deletions

View File

@@ -1,5 +1,6 @@
# CHANGELOG # CHANGELOG
### 0.3.1
* Added relationship deduction from `auto` return types which are template * Added relationship deduction from `auto` return types which are template
specializations (#82) specializations (#82)
* Fixed lambda names in class diagrams to be based on relative paths * Fixed lambda names in class diagrams to be based on relative paths

View File

@@ -142,10 +142,10 @@ docs:
fedora_36: fedora_36:
mkdir -p packaging/_BUILD/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 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 --cpus="8" -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" 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 .PHONY: fedora_37
fedora_37: fedora_37:
mkdir -p packaging/_BUILD/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 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 --cpus="8" -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" 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"

View File

@@ -2,7 +2,7 @@
[![Build status](https://github.com/bkryza/clang-uml/actions/workflows/build.yml/badge.svg)](https://github.com/bkryza/clang-uml/actions) [![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) [![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.0-blue)](https://github.com/bkryza/clang-uml/releases) [![Version](https://img.shields.io/badge/version-0.3.1-blue)](https://github.com/bkryza/clang-uml/releases)
`clang-uml` is an automatic C++ to UML class, sequence, package and include diagram generator, driven by `clang-uml` is an automatic C++ to UML class, sequence, package and include diagram generator, driven by
YAML configuration files. The main idea behind the YAML configuration files. The main idea behind the

View File

@@ -29,12 +29,12 @@ sudo apt install clang-uml
```bash ```bash
# Fedora 36 # Fedora 36
wget https://github.com/bkryza/clang-uml/releases/download/0.3.0/clang-uml-0.3.0-1.fc36.x86_64.rpm wget https://github.com/bkryza/clang-uml/releases/download/0.3.1/clang-uml-0.3.1-1.fc36.x86_64.rpm
sudo dnf install ./clang-uml-0.3.0-1.fc36.x86_64.rpm sudo dnf install ./clang-uml-0.3.1-1.fc36.x86_64.rpm
# Fedora 37 # Fedora 37
wget https://github.com/bkryza/clang-uml/releases/download/0.3.0/clang-uml-0.3.0-1.fc37.x86_64.rpm wget https://github.com/bkryza/clang-uml/releases/download/0.3.1/clang-uml-0.3.1-1.fc37.x86_64.rpm
sudo dnf install ./clang-uml-0.3.0-1.fc37.x86_64.rpm sudo dnf install ./clang-uml-0.3.1-1.fc37.x86_64.rpm
``` ```
#### Conda #### Conda
@@ -149,7 +149,7 @@ bin\clang-uml.exe --version
``` ```
It should produce something like: It should produce something like:
```bash ```bash
clang-uml 0.3.0 clang-uml 0.3.1
Copyright (C) 2021-2023 Bartek Kryza <bkryza@gmail.com> Copyright (C) 2021-2023 Bartek Kryza <bkryza@gmail.com>
Built against LLVM/Clang libraries version: 15.0.6 Built against LLVM/Clang libraries version: 15.0.6
Using LLVM/Clang libraries version: clang version 15.0.6 (https://github.com/llvm/llvm-project.git 088f33605d8a61ff519c580a71b1dd57d16a03f8) Using LLVM/Clang libraries version: clang version 15.0.6 (https://github.com/llvm/llvm-project.git 088f33605d8a61ff519c580a71b1dd57d16a03f8)

View File

@@ -34,8 +34,8 @@ find packaging/_BUILD/fedora
## Anaconda ## Anaconda
```bash ```bash
docker run --rm -v $PWD:$PWD continuumio/miniconda3 bash docker run --rm -v $PWD:$PWD -it continuumio/miniconda3 bash
conda install conda-build make conda install conda-build make anaconda-client
cd packaging cd packaging
make CONDA_TOKEN=<TOKEN> conda make CONDA_TOKEN=<TOKEN> conda
``` ```
@@ -46,6 +46,8 @@ First build release configuration using `cmake` and `msbuild` according
to the [documentation](../docs/installation.md#visual-studio-native-build). to the [documentation](../docs/installation.md#visual-studio-native-build).
```bash ```bash
cd <MSBUILD_BUILD_DIRECTORY> cmake -S clang-uml -B .\clang-uml-build-pkg\ -DCMAKE_PREFIX_PATH="C:\clang-uml" -Thost=x64
cpack -C "Release" -G NSIS64 cd .\clang-uml-build-pkg\
msbuild .\clang-uml.vcxproj -maxcpucount /p:Configuration=RelWithDebInfo
cpack -C "RelWithDebInfo" -G NSIS64
``` ```