-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #34 from wsjcpp/version-0.2.2
Version 0.2.2
- Loading branch information
Showing
16 changed files
with
398 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Changelog | ||
|
||
All notable changes to wsjcpp-core project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](http://keepachangelog.com/) | ||
and this project adheres to [Semantic Versioning](http://semver.org/). | ||
|
||
## [v0.2.2] - 2021-09-04 (2021 Sept 4) | ||
|
||
### Added | ||
|
||
- Added test for normalize path | ||
- Added test case for replace all | ||
- Added build_simple.bat for windows | ||
- Added WsjcppCore::makeDirsPath | ||
- Added WsjcppCore::extractDirpath | ||
|
||
### Changed | ||
|
||
- Up c++ to version 17 (need for std::filesystem) | ||
- Redesign getListOfDisrs to using crossplatform std::filesystem | ||
|
||
### Fixed | ||
|
||
- Fixed setFilePermissions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
@echo off | ||
|
||
endlocal | ||
setlocal | ||
|
||
echo Prepare configuration | ||
cmake -H. -Btmp | ||
if %ERRORLEVEL% GEQ 1 ( | ||
echo "cmake configure" | ||
EXIT /B 1 | ||
) | ||
|
||
cmake --build tmp | ||
if %ERRORLEVEL% GEQ 1 ( | ||
echo "cmake build" | ||
EXIT /B 1 | ||
) | ||
|
||
endlocal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/bin/bash | ||
|
||
check_ret() { | ||
if [ $1 -ne 0 ]; then | ||
echo "" | ||
echo "!!! FAIL: $2" | ||
echo "********************************************************************************" | ||
echo "" | ||
exit $1 | ||
else | ||
echo "" | ||
echo "*** SUCCESS: $2" | ||
echo "********************************************************************************" | ||
echo "" | ||
fi | ||
} | ||
|
||
rm -rf tmp | ||
./build_simple.sh | ||
check_ret $? "build" | ||
|
||
cd ./unit-tests.wsjcpp | ||
rm -rf tmp | ||
check_ret $? "cd tests" | ||
./build_simple.sh | ||
check_ret $? "build tests" | ||
./run_unit-tests.sh | ||
check_ret $? "run unit-tests" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.