Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ on:
push:
branches:
- master
- dev
- boilerplate
- update
- version
pull_request:

concurrency:
Expand Down
2 changes: 2 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@
"random": "cpp",
"ranges": "cpp",
"ratio": "cpp",
"rc.h": "c",
"result_codes_.h": "c",
"semaphore": "cpp",
"set": "cpp",
"setenv.h": "c",
Expand Down
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# **realpath** Changes <!-- omit in toc -->


## 0.1.0 - 6th August 2026



## 0.0.3 - 5th August 2026

* Added modular GitHub Actions CI (**ci.yml** / **ci-cell.yml**) for Windows (Windows-only tool);
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Purpose: Top-level CMake lists file for realpath
#
# Created: 31st December 2024
# Updated: 3rd August 2026
# Updated: 5th August 2026
#
# ######################################################################## #

Expand Down
19 changes: 17 additions & 2 deletions realpath.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@


#define REALPATH_VER_MAJOR 0
#define REALPATH_VER_MINOR 0
#define REALPATH_VER_PATCH 3
#define REALPATH_VER_MINOR 1
#define REALPATH_VER_PATCH 0


int main(int argc, char* argv[])
Expand All @@ -42,6 +42,21 @@ int main(int argc, char* argv[])
return EXIT_SUCCESS;
}
else
if (0 == std::strcmp("--version", argv[1]))
{
std::cout
<< program_name
<< " v"
<< REALPATH_VER_MAJOR
<< '.'
<< REALPATH_VER_MINOR
<< '.'
<< REALPATH_VER_PATCH
<< std::endl;

return EXIT_SUCCESS;
}
else
{
winstl::absolute_path abs_path(argv[1]);

Expand Down
Loading