Skip to content

Commit

Permalink
Version 1.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorengarenar committed Dec 22, 2020
1 parent ac6d065 commit cf3d85e
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 2 deletions.
Binary file added .uncrustify.cfg.swp
Binary file not shown.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [1.0.3] - 2020-12-22

### Changed

- Use `vsnprintf()` in `xdgDirs_getenv()`

### Fixed

- Return from `xdgDirs_getenv()` after assigning `NULL`
- Missing `extern C`

## [1.0.2] - 2020-12-21

Expand Down Expand Up @@ -53,7 +56,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Documentation
- README, CHANGELOG and AUTHORS

[unreleased]: https://github.com/Jorengarenar/libXDGdirs/compare/v1.0.2...HEAD
[unreleased]: https://github.com/Jorengarenar/libXDGdirs/compare/v1.0.3...HEAD
[1.0.3]: https://github.com/Jorengarenar/libXDGdirs/compare/v1.0.2...v1.0.3
[1.0.2]: https://github.com/Jorengarenar/libXDGdirs/compare/v1.0.1...v1.0.2
[1.0.1]: https://github.com/Jorengarenar/libXDGdirs/compare/v1.0.0...v1.0.1
[1.0.0]: https://github.com/Jorengarenar/libXDGdirs/releases/tag/v1.0.0
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.16)

project(libXDGdirs
VERSION 1.0.2
VERSION 1.0.3
LANGUAGES C)

set(XDGDIRS "XDGdirs")
Expand Down
15 changes: 15 additions & 0 deletions foo.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/env sh

if [ -n "$UNCRUSTIFY_CONFIG" ]; then
dir="$(dirname $UNCRUSTIFY_CONFIG)"
else
dir="$HOME/.uncrustify"
fi

cfg=".uncrustify"

for f in "base" "kr" "mb"; do
cfgs="$cfgs $dir/$f"
done

cat $cfgs > "$cfg"

0 comments on commit cf3d85e

Please sign in to comment.